Browse Source

small edit to config syntax

283
bkkcoins 13 years ago
parent
commit
2bf2f76a2a
  1. 2
      lib/gui_qt.py

2
lib/gui_qt.py

@ -1433,7 +1433,7 @@ class ElectrumWindow(QMainWindow):
try:
cfg = SimpleConfig()
cfg.config["proxy"] = { u'mode':unicode(proxy_mode.currentText()).lower(), u'host':unicode(proxy_host.text()), u'port':unicode(proxy_port.text()) }
cfg.set_key("proxy", { u'mode':unicode(proxy_mode.currentText()).lower(), u'host':unicode(proxy_host.text()), u'port':unicode(proxy_port.text()) })
cfg.save_config()
wallet.set_server(server, cfg.config["proxy"])
except Exception as err:

Loading…
Cancel
Save