mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-16 22:35:03 -05:00
Skip cleaning images cache folder.
This commit is contained in:
parent
f404f6f3ee
commit
f2a1331110
@ -1326,8 +1326,8 @@ def clearCache(force=False):
|
|||||||
for cache_root, cache_dirs, cache_files in os.walk(sickbeard.CACHE_DIR):
|
for cache_root, cache_dirs, cache_files in os.walk(sickbeard.CACHE_DIR):
|
||||||
path = os.path.basename(cache_root)
|
path = os.path.basename(cache_root)
|
||||||
|
|
||||||
# skip rss provider caches
|
# skip these cache folders
|
||||||
if path == 'rss':
|
if path in ['rss', 'images']:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
for file in cache_files:
|
for file in cache_files:
|
||||||
|
Loading…
Reference in New Issue
Block a user