From e8fc45058fb43ff900796404ac0ace7fa8525070 Mon Sep 17 00:00:00 2001 From: echel0n Date: Sat, 3 May 2014 03:54:50 -0700 Subject: [PATCH] Test fix #3 --- sickbeard/databases/mainDB.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sickbeard/databases/mainDB.py b/sickbeard/databases/mainDB.py index e20db240..c6880167 100644 --- a/sickbeard/databases/mainDB.py +++ b/sickbeard/databases/mainDB.py @@ -132,10 +132,10 @@ class MainSanityCheck(db.DBSanityCheck): "SELECT showid, indexerid, indexer, episode_id, season, episode FROM tv_episodes WHERE scene_season = 0 OR scene_episode = 0") for epResult in sqlResults: - indexerid = int(epResult["showid"]) - indexer = int(epResult["indexer"]) - season = int(epResult["season"]) - episode = int(epResult["episode"]) + indexerid = int(str(epResult["showid"]).encode('UTF-8')) + indexer = int(str(epResult["indexer"]).encode('UTF-8')) + season = int(str(epResult["season"]).encode('UTF-8')) + episode = int(str(epResult["episode"]).encode('UTF-8')) logger.log( u"Repairing any scene numbering issues for showid: " + str(epResult["showid"]) + u" season: " + str(