mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-01 00:43:37 +00:00
Fix to stop removal message of cache items from occuring when untrue
This commit is contained in:
parent
1fcfa4c70a
commit
628fe23f8d
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ def syncNameCache():
|
|||
for curShow in sickbeard.showList:
|
||||
for show_name in set(sickbeard.show_name_helpers.allPossibleShowNames(curShow)):
|
||||
sqlResult = cacheDB.action("DELETE FROM scene_names WHERE name = ? and indexer_id = ?", [show_name, 0])
|
||||
if sqlResult:
|
||||
if sqlResult.rowcount > 0:
|
||||
logger.log(u"Removing invalid record for [" + show_name + "] from cache ...")
|
||||
break
|
||||
|
||||
|
|
Loading…
Reference in a new issue