mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 09:21:39 +00:00
Fix decimal usage
This commit is contained in:
parent
9c2d12923a
commit
96686c4a2b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue