Skip to content
This repository was archived by the owner on May 27, 2025. It is now read-only.

Commit 1ffa087

Browse files
committed
Fixed cleanup function to use full path to part_ files
1 parent 68c06d8 commit 1ffa087

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/filesystem.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1144,6 +1144,7 @@ def cleanup(self):
11441144
part_ct = 0
11451145
for path in self.download_cache.glob("part_*"):
11461146
path = Path(path)
1147+
path = self.download_cache // path.name
11471148
ch.VERBOSE("deleting: %s" % path)
11481149
path.unlink()
11491150
part_ct += 1

0 commit comments

Comments
 (0)