Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ddc committed Dec 14, 2019
1 parent b0f7044 commit 04dc256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def check_new_program_version(self):
if remote_version[-2:] == "\\n" or remote_version[-2:] == "\n":
remote_version = remote_version[:-2] # getting rid of \n at the end of line

if float(remote_version) == float(self.client_version):
if float(remote_version) > float(self.client_version):
obj_return.new_version_available = True
obj_return.new_version_msg = f"Version {remote_version} available for download"
obj_return.new_version = float(remote_version)
Expand Down

0 comments on commit 04dc256

Please sign in to comment.