mirror of
https://github.com/arsenetar/dupeguru.git
synced 2026-01-22 14:41:39 +00:00
Move pe.cache.Cache into its own unit, cache_sqlite
This prepares us for an upcoming alternative cache implementation.
This commit is contained in:
@@ -405,7 +405,7 @@ class DupeGuru(Broadcaster):
|
||||
path = path.parent()
|
||||
|
||||
def clear_picture_cache(self):
|
||||
cache = pe.cache.Cache(self.options['cache_path'])
|
||||
cache = pe.cache_sqlite.SqliteCache(self.options['cache_path'])
|
||||
cache.clear()
|
||||
cache.close()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user