From 70f82f947fbade78fbbdd468ad899fe3d3f00571 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Mon, 28 Jan 2008 08:26:31 +0000 Subject: [PATCH] Fix the new release check from informing user of an update when they are unable to download the version file. --- src/interface.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/interface.py b/src/interface.py index a92795fa9..1b5e0d3e2 100644 --- a/src/interface.py +++ b/src/interface.py @@ -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 \