electrum

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

commit 8e6be820b57ce4fd952cf81c2506a69c5480892e
parent 6b690d681aada8cc259779d4e9453ee49a745206
Author: thomasv <thomasv@gitorious>
Date:   Mon, 22 Apr 2013 09:19:25 +0200

fix: assert fails on startup

Diffstat:
Mgui/gui_lite.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gui/gui_lite.py b/gui/gui_lite.py @@ -474,7 +474,8 @@ class MiniWindow(QDialog): def set_quote_currency(self, currency): """Set and display the fiat currency country.""" - assert currency in self.quote_currencies + if currency not in self.quote_currencies: + return self.quote_currencies.remove(currency) self.quote_currencies.insert(0, currency) self.refresh_balance()