From dc6933c90ccbcfdbfa54435fb44db4908bf15c94 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Fri, 25 Nov 2016 00:59:51 +0000 Subject: [PATCH] Fix crash when cleaning picture cache --- core/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/app.py b/core/app.py index 767f5fa4..092dcb9a 100644 --- a/core/app.py +++ b/core/app.py @@ -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