1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2025-03-10 05:34:36 +00:00

Fix crash when cleaning picture cache

This commit is contained in:
Virgil Dupras 2016-11-25 00:59:51 +00:00
parent e0281dd740
commit dc6933c90c

View File

@ -413,7 +413,7 @@ class DupeGuru(Broadcaster):
def clear_picture_cache(self): def clear_picture_cache(self):
try: try:
os.remove(self.options['cache_path']) os.remove(self._get_picture_cache_path())
except FileNotFoundError: except FileNotFoundError:
pass # we don't care pass # we don't care