From 5ca3ff58ffe511154d8bfa8725741810d63dae5f Mon Sep 17 00:00:00 2001 From: P0psicles Date: Sat, 14 May 2016 09:14:56 +0200 Subject: [PATCH] Removed the unicode error handling --- sickbeard/scene_exceptions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sickbeard/scene_exceptions.py b/sickbeard/scene_exceptions.py index 3f982377db..983f691b1f 100644 --- a/sickbeard/scene_exceptions.py +++ b/sickbeard/scene_exceptions.py @@ -273,9 +273,9 @@ def update_scene_exceptions(indexer_id, scene_exceptions, season=-1): # A change has been made to the scene exception list. Let's clear the cache, to make this visible if indexer_id in exceptionsCache: exceptionsCache[indexer_id] = {} - exceptionsCache[indexer_id][season] = [se.decode('utf-8', 'replace') for se in scene_exceptions] + exceptionsCache[indexer_id][season] = [se.decode('utf-8') for se in scene_exceptions] - for cur_exception in [se.decode('utf-8', 'replace') for se in scene_exceptions]: + for cur_exception in [se.decode('utf-8') for se in scene_exceptions]: cache_db_con.action("INSERT INTO scene_exceptions (indexer_id, show_name, season) VALUES (?,?,?)", [indexer_id, cur_exception, season])