1
0

fix another http leak

This commit is contained in:
ThomasV
2013-10-01 09:14:07 +02:00
parent 7658b2ade1
commit 89a9ce2ab4

View File

@@ -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):