From 1c56876ecc976f25c82b8ecc3f210065381c3cb0 Mon Sep 17 00:00:00 2001 From: echel0n Date: Sat, 3 May 2014 02:34:53 -0700 Subject: [PATCH] Fixed unicode 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 7808d384..d5bc19bb 100644 --- a/sickbeard/databases/mainDB.py +++ b/sickbeard/databases/mainDB.py @@ -136,10 +136,10 @@ class MainSanityCheck(db.DBSanityCheck): u"Repairing any scene numbering issues for showid: " + str(epResult["showid"]) + u" season: " + str( epResult["season"]) + u" episode: " + str(epResult["episode"]), logger.DEBUG) - scene_season, scene_episode = sickbeard.scene_numbering.get_scene_numbering(epResult["showid"], - epResult["indexer"], - epResult["season"], - epResult["episode"]) + scene_season, scene_episode = sickbeard.scene_numbering.get_scene_numbering(int(epResult["showid"]), + int(epResult["indexer"]), + int(epResult["season"]), + int(epResult["episode"])) ql.append(["UPDATE tv_episodes SET scene_season = ? WHERE indexerid = ?", [scene_season, epResult["indexerid"]]]) ql.append(