Skip to content
Snippets Groups Projects
Commit 3acccbe8 authored by Thibault Allançon's avatar Thibault Allançon
Browse files

cli: clean: fix TypeError (conf paths are now stored as str)

parent 879f8c33
No related branches found
No related tags found
No related merge requests found
......@@ -194,7 +194,7 @@ def clean(ctx):
def rm_cache(conf, cache_name):
try:
conf["cache"][cache_name]["path"].unlink(missing_ok=True)
Path(conf["cache"][cache_name]["path"]).unlink(missing_ok=True)
except KeyError:
pass
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment