From 0a7c594a6fe415ba53bf1b82f10926a49a78f438 Mon Sep 17 00:00:00 2001 From: Prinz23 Date: Thu, 2 Apr 2015 11:48:25 +0200 Subject: [PATCH] Fix XEM Exceptions --- CHANGES.md | 1 + sickbeard/scene_exceptions.py | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index d41efc6e..28e172ea 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -122,6 +122,7 @@ * Fix correctly initialise IMDb id loaded from db * Fix loading shows from the DB that have NULL IMDb id * Change order of snatched provider images to chronological on History layout compact and add ordinal indicators in the tooltips +* Fix XEM Exceptions in case of bad data from XEM ### 0.7.2 (2015-03-10 17:05:00 UTC) diff --git a/sickbeard/scene_exceptions.py b/sickbeard/scene_exceptions.py index 957393f9..386dece2 100644 --- a/sickbeard/scene_exceptions.py +++ b/sickbeard/scene_exceptions.py @@ -317,7 +317,10 @@ def _xem_exceptions_fetcher(): continue for indexerid, names in parsedJSON['data'].items(): - xem_exception_dict[int(indexerid)] = names + try: + xem_exception_dict[int(indexerid)] = names + except: + continue setLastRefresh('xem')