str() not neccesary here
This commit is contained in:
parent
8a318400ae
commit
0d5d6dc31e
|
@ -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 = ''
|
||||
|
||||
|
|
Loading…
Reference in a new issue