Skip to content

Commit

Permalink
cache folder fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadlaxa committed Sep 13, 2024
1 parent 00b6b42 commit 739f453
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions OU Dictionary Editor/OpenUtau_Dictionary_Editor.pyw
Original file line number Diff line number Diff line change
Expand Up @@ -3950,6 +3950,8 @@ class Dictionary(TkinterDnD.Tk):
self.cache_b = ttk.Button(cache_frame, text="Cache", style='Accent.TButton', command=self.clear_cache)
self.cache_b.grid(row=2, column=0, padx=10, pady=10, sticky="ew")
self.create_tooltip(self.cache_b, 'tp_cache_b', 'Clears out the Cache folder')
if not CACHE.exists():
CACHE.mkdir(parents=True, exist_ok=True)
self.observer = Observer()
self.handler = CacheHandler(update_callback=self.update_cache_button_text)
self.observer.schedule(self.handler, CACHE, recursive=True)
Expand Down

0 comments on commit 739f453

Please sign in to comment.