Skip to content

Commit

Permalink
Remove message print if no new updates
Browse files Browse the repository at this point in the history
It would flash the message too quickly to be seen
  • Loading branch information
ThioJoe committed Jul 21, 2023
1 parent 9450bfe commit 8a0b532
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions AIMemeGenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,11 +421,13 @@ def check_for_update(currentVersion=version, updateReleaseChannel=None, silentCh

elif parse_version(latestVersion) == parse_version(currentVersion):
if silentCheck == False:
print(f"\nYou have the latest version: " + currentVersion)
#print(f"\nYou have the latest version: " + currentVersion)
pass
return False
else:
if silentCheck == False:
print("\nNo newer release available - Your Version: " + currentVersion + " -- Latest Version: " + latestVersion)
#print("\nNo newer release available - Your Version: " + currentVersion + " -- Latest Version: " + latestVersion)
pass
return False

return isUpdateAvailable
Expand Down

0 comments on commit 8a0b532

Please sign in to comment.