fix another http leak
This commit is contained in:
parent
7658b2ade1
commit
89a9ce2ab4
|
@ -54,6 +54,9 @@ class UpdateLabel(QLabel):
|
||||||
self.config = config
|
self.config = config
|
||||||
self.current_version = ELECTRUM_VERSION
|
self.current_version = ELECTRUM_VERSION
|
||||||
self.connect(self, QtCore.SIGNAL('new_electrum_version'), self.new_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()
|
VersionGetter(self).start()
|
||||||
|
|
||||||
def callback(self, version):
|
def callback(self, version):
|
||||||
|
|
Loading…
Reference in New Issue