tfix: needs parentheses - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit a95e834e2e4410247933b0aea3d47f5fa3d9bd63
DIR parent 20d03ff60c7b03e5c48396e274c4579a37b0fe18
HTML Author: thomasv <thomasv@gitorious>
Date: Fri, 12 Oct 2012 16:00:47 +0200
fix: needs parentheses
Diffstat:
M lib/gui_qt.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/lib/gui_qt.py b/lib/gui_qt.py
t@@ -1456,7 +1456,7 @@ class ElectrumWindow(QMainWindow):
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':
proxy = { u'mode':unicode(proxy_mode.currentText()).lower(), u'host':unicode(proxy_host.text()), u'port':unicode(proxy_port.text()) }
else: