Skip to content

Commit

Permalink
re-add Decimal float parser
Browse files Browse the repository at this point in the history
Sorry for losing this due to wrong merging.
  • Loading branch information
peshay authored Dec 31, 2017
1 parent 103c7be commit b8d31ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion btcde.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def APIConnect(self, method, params):
# Handle API Errors
if HandleAPIErrors(r):
# get results
result = r.json()
result = r.json(parse_float=decimal.Decimal)
else:
result = {}
except requests.exceptions.RequestException as e:
Expand Down

0 comments on commit b8d31ec

Please sign in to comment.