Merge pull request #741 from adam111316/fix_anime_exceptions

Fixes anime exceptions being cleared when editing the exceptions on edit...
This commit is contained in:
echel0n 2014-08-23 14:15:02 -07:00
commit 5a027fdbe0

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)