str() not neccesary here

This commit is contained in:
Thomas Steen Rasmussen 2017-04-08 11:09:54 +02:00
parent 8a318400ae
commit 0d5d6dc31e

View file

@ -603,7 +603,7 @@ class CoinifyCallbackView(SingleObjectMixin, View):
# attempt to parse json
try:
parsed = json.loads(str(request.body))
parsed = json.loads(request.body)
except Exception as E:
parsed = ''