From 20e7de5b5f04c6e169ba33e9462d17157db3fe78 Mon Sep 17 00:00:00 2001 From: Timmy Welch Date: Sat, 31 Dec 2022 02:26:44 -0800 Subject: [PATCH] Fix reference to the user cache directory --- comictaggerlib/settingswindow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/comictaggerlib/settingswindow.py b/comictaggerlib/settingswindow.py index 48ac846..74c9043 100644 --- a/comictaggerlib/settingswindow.py +++ b/comictaggerlib/settingswindow.py @@ -440,8 +440,8 @@ class SettingsWindow(QtWidgets.QDialog): self.select_file(self.leRarExePath, "RAR") def clear_cache(self) -> None: - ImageFetcher(self.options[0].runtime_config.cache_folder).clear_cache() - ComicCacher(self.options[0].runtime_config.cache_folder, version).clear_cache() + ImageFetcher(self.options[0].runtime_config.user_cache_dir).clear_cache() + ComicCacher(self.options[0].runtime_config.user_cache_dir, version).clear_cache() QtWidgets.QMessageBox.information(self, self.name, "Cache has been cleared.") def test_api_key(self) -> None: