Skip to content

Commit

Permalink
fix updatecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
kaneryu committed Jul 23, 2024
1 parent 4ffd207 commit a0144a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/createthesun/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def updateCheck(version = "", upstream = ""):
if testing:
return updateCheck()

if not updateCheck(): # if not on the latest version
if updateCheck(): # if not on the latest version
command = f"{os.getenv('LOCALAPPDATA')}\\createTheSunUpdater\\installer.exe"
if not os.path.exists(command):
error_dialog = dialogs.errorDialog(
Expand Down

0 comments on commit a0144a6

Please sign in to comment.