Skip to content

Commit a53596d

Browse files
authored
Fix old cache folder (#11318)
1 parent 2a62745 commit a53596d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python3/cinnamon/harvester.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def __init__(self, spice_type):
151151
self.index_cache = {}
152152
self.cache_lock = threading.Lock()
153153

154-
self.cache_folder = '%s/.cinnamon/spices.cache/%s/' % (home, self.spice_type)
154+
self.cache_folder = os.path.join(GLib.get_user_cache_dir(), 'cinnamon', 'spices', self.spice_type)
155155

156156
self.index_file = os.path.join(self.cache_folder, "index.json")
157157

0 commit comments

Comments
 (0)