Changed r.content to r.text

This commit is contained in:
echel0n 2014-04-03 21:08:51 -07:00
commit 8e7490ff80
7 changed files with 21 additions and 18 deletions

View file

@ -62,7 +62,7 @@ class autoProcessGames:
Logger.exception("Unable to open URL")
return 1 # failure
result = json.load(r.content)
result = json.load(r.text)
Logger.info("Gamez returned %s", result)
if result['success']:
Logger.info("Status for %s has been set to %s in Gamez", gamezID, downloadStatus)