From 4ca2a432fc5fd1263068e721ac93b4e470f44aee Mon Sep 17 00:00:00 2001 From: Fernando Date: Fri, 20 Feb 2015 15:59:17 -0200 Subject: [PATCH] Kodi fix --- sickbeard/notifiers/kodi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sickbeard/notifiers/kodi.py b/sickbeard/notifiers/kodi.py index 5d90533f..7b4bd3c6 100644 --- a/sickbeard/notifiers/kodi.py +++ b/sickbeard/notifiers/kodi.py @@ -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: " + str(response), logger.WARNING) + logger.log(u"Unable to decode JSON: " + str(response.read()), logger.WARNING) return False except IOError, e: