Skip to content
This repository was archived by the owner on Feb 19, 2020. It is now read-only.

Commit af8f157

Browse files
committed
Merge pull request #7 from PhilippWendler/patch-1
Fix crash on final message with Python 3
2 parents e3a6f06 + 50bc03a commit af8f157

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codacy/reporter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def upload_report(report, token, commit):
107107
logging.debug(r.content)
108108
r.raise_for_status()
109109

110-
message = json.loads(r.content)['success']
110+
message = json.loads(r.text)['success']
111111
logging.info(message)
112112

113113

0 commit comments

Comments
 (0)