electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit a08f2660df8e0a8d89b45e8b34293738e6a74216
parent 23ffbc3e4874d8496fec25fd4ada5dfe24733a8b
Author: Maran <maran.hidskes@gmail.com>
Date:   Fri, 21 Sep 2012 23:13:46 +0200

Use True flag for set key

Diffstat:
Mlib/gui_qt.py | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/gui_qt.py b/lib/gui_qt.py @@ -1447,8 +1447,7 @@ class ElectrumWindow(QMainWindow): try: cfg = SimpleConfig() - 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() + cfg.set_key("proxy", { u'mode':unicode(proxy_mode.currentText()).lower(), u'host':unicode(proxy_host.text()), u'port':unicode(proxy_port.text()) }, True) wallet.set_server(server, cfg.config["proxy"]) except Exception as err: QMessageBox.information(None, _('Error'), str(err), _('OK'))