From 04dc2566702e3da4881cfb527e2370c84ab26033 Mon Sep 17 00:00:00 2001 From: ddc Date: Sat, 14 Dec 2019 00:16:05 -0300 Subject: [PATCH] update --- src/utils/utilities.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/utilities.py b/src/utils/utilities.py index eac40e7..0c48c9e 100644 --- a/src/utils/utilities.py +++ b/src/utils/utilities.py @@ -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)