mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-30 08:51:32 +00:00
fix: needs parentheses
This commit is contained in:
parent
20d03ff60c
commit
a95e834e2e
1 changed files with 1 additions and 1 deletions
|
@ -1456,7 +1456,7 @@ class ElectrumWindow(QMainWindow):
|
||||||
|
|
||||||
if not d.exec_(): return
|
if not d.exec_(): return
|
||||||
|
|
||||||
server = unicode( server_host.text() ) + ':' + unicode( server_port.text() ) + ':' + 't' if server_protocol.currentIndex() == 0 else 'h'
|
server = unicode( server_host.text() ) + ':' + unicode( server_port.text() ) + ':' + ('t' if server_protocol.currentIndex() == 0 else 'h')
|
||||||
if proxy_mode.currentText() != 'NONE':
|
if proxy_mode.currentText() != 'NONE':
|
||||||
proxy = { u'mode':unicode(proxy_mode.currentText()).lower(), u'host':unicode(proxy_host.text()), u'port':unicode(proxy_port.text()) }
|
proxy = { u'mode':unicode(proxy_mode.currentText()).lower(), u'host':unicode(proxy_host.text()), u'port':unicode(proxy_port.text()) }
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Reference in a new issue