1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-02-03 20:01:38 +00:00

Re-add the Clear Picture Cache action

This commit is contained in:
Virgil Dupras
2016-05-31 20:55:32 -04:00
parent 7256adb4d4
commit 8c9ef3ea29
7 changed files with 18 additions and 136 deletions

View File

@@ -9,7 +9,6 @@ from hscommon.trans import tr
from core.scanner import Scanner, ScanType, ScanOption
from . import matchblock, matchexif
from .cache import Cache
class ScannerPE(Scanner):
cache_path = None
@@ -31,8 +30,3 @@ class ScannerPE(Scanner):
else:
raise Exception("Invalid scan type")
def clear_picture_cache(self):
cache = Cache(self.cache_path)
cache.clear()
cache.close()