Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Commit

Permalink
Fixed cleanup function to use full path to part_ files
Browse files Browse the repository at this point in the history
  • Loading branch information
alstar555 committed Sep 24, 2024
1 parent 68c06d8 commit 1ffa087
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/filesystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1ffa087

Please sign in to comment.