Skip to content

Commit

Permalink
fixed upgrade message inappropriately showing up.
Browse files Browse the repository at this point in the history
  • Loading branch information
WyattBlue committed May 15, 2021
1 parent 728ade8 commit 2ce8298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auto_editor/usefulFunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def isLatestVersion(version: str, log) -> bool:
from requests import get
latestVersion = get('https://raw.githubusercontent.com/' \
'wyattblue/auto-editor/master/resources/version.txt')
return latestVersion.text == version
return latestVersion.text.strip() == version
except ImportError:
pass
except Exception as err:
Expand Down

0 comments on commit 2ce8298

Please sign in to comment.