Commit 05d7a63b authored by arrix's avatar arrix

fix: couldn't remove interrogate_tmp dir

parent 22bcc7be
...@@ -41,7 +41,7 @@ def download_default_clip_interrogate_categories(content_dir): ...@@ -41,7 +41,7 @@ def download_default_clip_interrogate_categories(content_dir):
errors.display(e, "downloading default CLIP interrogate categories") errors.display(e, "downloading default CLIP interrogate categories")
finally: finally:
if os.path.exists(tmpdir): if os.path.exists(tmpdir):
os.remove(tmpdir) os.removedirs(tmpdir)
class InterrogateModels: class InterrogateModels:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment