diff options
-rwxr-xr-x | issues.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -131,7 +131,7 @@ def handle_tracker_item(item, issue_title_prefix): if response.status_code == 500: print "ISSUE CAUSED SERVER SIDE ERROR AND WAS NOT SAVED!!! Import will continue." else: - issue = response.json() + issue = json.loads(response.content) if 'number' not in issue: raise RuntimeError("No 'number' in issue; response %d invalid" % response.status_code) number = issue['number'] |