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
1 changed files with 1 additions and 1 deletions

View File

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