1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-11-17 23:05:11 -05:00

Merge pull request #1371 from fernandog/kodi_fix

Possible fix for kodi notify
This commit is contained in:
Fernando 2015-02-20 23:28:19 -02:00
commit 79fe933822

View File

@ -397,7 +397,7 @@ class KODINotifier:
logger.log(u"KODI JSON response: " + str(result), logger.DEBUG)
return result # need to return response for parsing
except ValueError, e:
logger.log(u"Unable to decode JSON: " + response, logger.WARNING)
logger.log(u"Unable to decode JSON: " + str(response.read()), logger.WARNING)
return False
except IOError, e: