From 580afec2a791e1edd72b9ee959490ea63133be17 Mon Sep 17 00:00:00 2001 From: echel0n Date: Sat, 3 May 2014 03:15:18 -0700 Subject: [PATCH] Fixes more non-sense issues --- 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..cabe0a08 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"])) + indexer = int(str(epResult["indexer"])) + season = int(str(epResult["season"])) + episode = int(str(epResult["episode"])) logger.log( u"Repairing any scene numbering issues for showid: " + str(epResult["showid"]) + u" season: " + str(