fix another http leak

This commit is contained in:
ThomasV 2013-10-01 09:14:07 +02:00
parent 7658b2ade1
commit 89a9ce2ab4
1 changed files with 3 additions and 0 deletions

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