tMerge pull request #2213 from bauerj/patch-2 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 5513a6454937d4c4b5c770a30a14c0fd45f33dc1 DIR parent 9c2d12923adedc84d1dcb3ed6005ea1e8653e1cc HTML Author: ThomasV <thomasv@electrum.org> Date: Tue, 28 Feb 2017 22:59:55 +0100 Merge pull request #2213 from bauerj/patch-2 Fix decimal usage Diffstat: M lib/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/lib/util.py b/lib/util.py t@@ -187,7 +187,7 @@ def json_encode(obj): def json_decode(x): try: - return json.loads(x, parse_float=decimal.Decimal) + return json.loads(x, parse_float=Decimal) except: return x