Commit 298a03ef6e43cff8f85faa47e8a945908574a197
Committed by
Thiago Franco de Moraes
1 parent
d1e760d0
Exists in
beta4
and in
1 other branch
FIX: updater fix
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
invesalius/utils.py
@@ -401,7 +401,7 @@ def UpdateCheck(): | @@ -401,7 +401,7 @@ def UpdateCheck(): | ||
401 | response = urllib2.urlopen(req) | 401 | response = urllib2.urlopen(req) |
402 | last = response.readline().rstrip() | 402 | last = response.readline().rstrip() |
403 | url = response.readline().rstrip() | 403 | url = response.readline().rstrip() |
404 | - if (last!=const.INVESALIUS_VERSION+"1"): | 404 | + if (last!=const.INVESALIUS_VERSION): |
405 | print " ...New update found!!! -> version:", last #, ", url=",url | 405 | print " ...New update found!!! -> version:", last #, ", url=",url |
406 | from time import sleep | 406 | from time import sleep |
407 | sleep(2) | 407 | sleep(2) |