tkivy: fix amount - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 4eff85957d83f2e8c7f435e8c2ac7365cf06aec2 DIR parent 3b49b5adca4bd7901148c343d9af290b3a0fc370 HTML Author: ThomasV <thomasv@electrum.org> Date: Fri, 16 Oct 2015 12:25:49 +0200 kivy: fix amount Diffstat: M gui/kivy/uix/screens.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/gui/kivy/uix/screens.py b/gui/kivy/uix/screens.py t@@ -195,7 +195,7 @@ class SendScreen(CScreen): self.ids.message_e.text = uri.get('message', '') amount = uri.get('amount') if amount: - amount_str = str( a / Decimal(self.app.decimal_point())) + amount_str = str( Decimal(amount) / pow(10, self.app.decimal_point())) self.ids.amount_e.text = amount_str + ' ' + self.app.base_unit def do_clear(self):