From 1ffa087f7ea8dba9a2297e90a24495e48a17099d Mon Sep 17 00:00:00 2001 From: Angelica Date: Tue, 24 Sep 2024 16:54:53 -0400 Subject: [PATCH] Fixed cleanup function to use full path to part_ files --- lib/filesystem.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/filesystem.py b/lib/filesystem.py index 21c26aa79..88dccdeb6 100644 --- a/lib/filesystem.py +++ b/lib/filesystem.py @@ -1144,6 +1144,7 @@ def cleanup(self): part_ct = 0 for path in self.download_cache.glob("part_*"): path = Path(path) + path = self.download_cache // path.name ch.VERBOSE("deleting: %s" % path) path.unlink() part_ct += 1