commit 89a9ce2ab4520c39148a83d66f1fc553612f64d3
parent 7658b2ade1b1b19cf02e33e0cba286af2b84dcb8
Author: ThomasV <thomasv@gitorious>
Date: Tue, 1 Oct 2013 09:14:07 +0200
fix another http leak
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/gui/qt/version_getter.py b/gui/qt/version_getter.py
@@ -54,6 +54,9 @@ class UpdateLabel(QLabel):
self.config = config
self.current_version = ELECTRUM_VERSION
self.connect(self, QtCore.SIGNAL('new_electrum_version'), self.new_electrum_version)
+ # prevent HTTP leaks if a proxy is set
+ if self.config.get('proxy'):
+ return
VersionGetter(self).start()
def callback(self, version):