Fixes anime exceptions being cleared when editing the exceptions on editShow page

This commit is contained in:
Adam 2014-08-23 11:53:31 +08:00
parent 7de9d96340
commit fea4116174
1 changed files with 1 additions and 1 deletions

View File

@ -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)