Fix the new release check from informing user of an update when they are

unable to download the version file.
This commit is contained in:
Andrew Resch 2008-01-28 08:26:31 +00:00
parent f4e97eae22
commit 70f82f947f
1 changed files with 5 additions and 1 deletions

View File

@ -1062,7 +1062,11 @@ window, please enter your password"))
except IOError:
print "Network error while trying to check for a newer version of \
Deluge"
new_release = ""
try:
gtk.gdk.threads_leave()
except:
pass
return
if new_release > common.PROGRAM_VERSION:
result = dialogs.show_popup_question(None, _("There is a newer version \