mirror of
https://github.com/codex-storage/deluge.git
synced 2025-03-01 19:40:39 +00:00
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:
parent
f4e97eae22
commit
70f82f947f
@ -1062,7 +1062,11 @@ window, please enter your password"))
|
|||||||
except IOError:
|
except IOError:
|
||||||
print "Network error while trying to check for a newer version of \
|
print "Network error while trying to check for a newer version of \
|
||||||
Deluge"
|
Deluge"
|
||||||
new_release = ""
|
try:
|
||||||
|
gtk.gdk.threads_leave()
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
return
|
||||||
|
|
||||||
if new_release > common.PROGRAM_VERSION:
|
if new_release > common.PROGRAM_VERSION:
|
||||||
result = dialogs.show_popup_question(None, _("There is a newer version \
|
result = dialogs.show_popup_question(None, _("There is a newer version \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user