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:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user