Swapped the order of 2 lines

Truly the best commit ever
This commit is contained in:
BigBoiCJ 2024-04-27 13:59:40 +02:00
parent 97cdc0b713
commit 77cb4ee88b

View file

@ -121,8 +121,8 @@ try: # Handles Python errors to write them to a log file so they can be reported
appID = 0
if gameNameEntry.get() == "":
update_logs("\n[!] Please enter a valid Name or AppID")
selectFolderButton.config(state=tk.NORMAL) # Re-enable the ability to change the selected folder
searchGameButton.config(state=tk.NORMAL) # Re-enable the ability to search the game
selectFolderButton.config(state=tk.NORMAL) # Re-enable the ability to change the selected folder
return
try:
@ -935,4 +935,4 @@ except Exception:
errorFile.write(f"SteamAutoCracker GUI v{VERSION}\n---\nA Python error occurred!\nPlease report it on GitHub or cs.rin.ru\nMake sure to blank any personal detail.\n---\n\n")
traceback.print_exc(file=errorFile)
traceback.print_exc()
print("---\nError written to error.log, please report it on GitHub or cs.rin.ru\nMake sure to blank any personal detail.")
print("---\nError written to error.log, please report it on GitHub or cs.rin.ru\nMake sure to blank any personal detail.")