From fea411617435f5e92399b82ac00d8c65b36fa829 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 23 Aug 2014 11:53:31 +0800 Subject: [PATCH] Fixes anime exceptions being cleared when editing the exceptions on editShow page --- sickbeard/scene_exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sickbeard/scene_exceptions.py b/sickbeard/scene_exceptions.py index 0a94de06..1febcbbc 100644 --- a/sickbeard/scene_exceptions.py +++ b/sickbeard/scene_exceptions.py @@ -258,7 +258,7 @@ def update_scene_exceptions(indexer_id, scene_exceptions, season=-1): """ global exceptionsCache myDB = db.DBConnection('cache.db') - myDB.action('DELETE FROM scene_exceptions WHERE indexer_id=?', [indexer_id]) + myDB.action('DELETE FROM scene_exceptions WHERE indexer_id=? and season=?', [indexer_id, season]) logger.log(u"Updating scene exceptions", logger.MESSAGE)