Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Update api_requestor.py (#63)
Browse files Browse the repository at this point in the history
fix bad indent
  • Loading branch information
jfriedr authored Sep 21, 2020
1 parent 68ac626 commit a56a131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shippo/api_requestor.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def interpret_response(self, rbody, rcode):
rbody = rbody.decode('utf-8')
if rbody == '':
rbody = '{"msg": "empty_response"}'
resp = util.json.loads(rbody)
resp = util.json.loads(rbody)
except Exception:
raise error.APIError(
"Invalid response body from API: %s "
Expand Down

0 comments on commit a56a131

Please sign in to comment.