From b0001cd6f72f8cb2debdd9951e57483086ce2efb Mon Sep 17 00:00:00 2001 From: mrmarcus007 Date: Mon, 6 Feb 2023 15:03:19 +0000 Subject: [PATCH] Clean up --- Overclock.py | 27 ++++++++++++------ __pycache__/configuationtable.cpython-310.pyc | Bin 635 -> 0 bytes __pycache__/graphics.cpython-310.pyc | Bin 466 -> 0 bytes config_data.txt | 2 ++ 4 files changed, 20 insertions(+), 9 deletions(-) delete mode 100644 __pycache__/configuationtable.cpython-310.pyc delete mode 100644 __pycache__/graphics.cpython-310.pyc diff --git a/Overclock.py b/Overclock.py index 70aa670..a3dd5d6 100644 --- a/Overclock.py +++ b/Overclock.py @@ -50,7 +50,7 @@ def editor(): RyzenADJI = input("Ryzen ADJI preset (if you have one, if not leave blank): ") USBdevices = int(input("Amount of static USB devices: " )) TotalUSBpower = USBdevices * 4.5 - TotalPower = (TotalUSBpower + GPUpowerLimit + CPUPowerLimit * 1.32) + TotalPower = (TotalUSBpower + GPUpowerLimit + CPUPowerLimit * 1.352) data = { "PCname": my_system.node, "System": f"{my_system.system} {my_system.version}", @@ -109,6 +109,7 @@ def export(): file.write("\n Static USB devices: " + str(data["USBdevices"]) + "\n") file.write(" Total USB power: " + str(data["TotalUSBPower"]) + "W" + "\n") file.write(" Total Power: " + str(data["TotalPower"]) + "W" + "\n") + file.write(" \n Overclock Manager, Version: 2.0.1") print(" Data exported to config") input(" Press enter to continue") Menu() @@ -126,15 +127,23 @@ def existstage1(): existstage1() def exitstage2(): - t = 5 + t = 10 while t > 0: - os.system('cls') - print(graphics.Bye) - print(graphics.Rever, ", By Marcus Allison" ) - print("\n Closing program in", t) - time.sleep(1) - t = t - 1 - if t == 1: + if t >= 5: + os.system('cls') + print(graphics.Overclock) + print(graphics.Rever, ", By Marcus Allison" ) + print("\n Closing program in", t) + time.sleep(1) + t = t - 1 + elif t <= 5: + os.system('cls') + print(graphics.Bye) + print(graphics.Rever, ", By Marcus Allison" ) + print("\n Closing program in", t) + time.sleep(1) + t = t - 1 + elif t == 1: os.system('cls') print(graphics.Bye) print(graphics.Rever, ", By Marcus Allison" ) diff --git a/__pycache__/configuationtable.cpython-310.pyc b/__pycache__/configuationtable.cpython-310.pyc deleted file mode 100644 index 42e3ec05804c08ec6194873395ea7f68aa961409..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 635 zcmZuvOK;Oa5O$ixb=*2s969Z^5{c|IaT8RbJWN9hp;p}pY2}OYZi9u_Ywg-8_KCm1 zoeM|)lCPY4hL)Vr7>#V?Wi(BrWR0xnXp(0i zX_7@DpdVJyR$1?N&9X5Xb%$l!vIi#W&!=eaI5+khwm}x-Qnk*91AwWvJ=(4w>U1`O zvEXwj%!Po0$m$QEi+%jxpv;1lb>fIc85;EWz-@L)#T^$cNJ9G11g<^h7km8f)TmT< zmIRDes#nO2va00@9#Sc}sEnDra``HGO$psZz*rf#JPTq7>^OfY;sko#so$@|7ye38A$T2$Hv<0Oyi%k8(3 O&p_`@X!q|A>CShd^GgKd6rp`n1NfIA9!rsvQ7^7%otPn8Vy>lwjs1 z4#&)Y!ifvq0rr3cU>`UH?l63g;_eq@qcMdJ3$b?>^axbhAvAi$kLb9L?q$t$hWT8d1PGOx1q^qxyv z2znP)LUWnIdwrWzHK<$DC5qlQb(jB8J8Q;C3MS0HH@|g zn}e;{+P@Ivjd<0V;EKo!+9$z@5bUPqaUgB^d2!>PahS?<7uhnfz7W8;hb^D4w*