diff --git a/swh/fuse/cli.py b/swh/fuse/cli.py --- a/swh/fuse/cli.py +++ b/swh/fuse/cli.py @@ -194,7 +194,7 @@ 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