Skip to content

Bulk asynchronous downloader for multiple file hosts

change sort to not use deepcopy.

Jules-WinnfieldX42598f8f5c78
diff --git a/cyberdrop_dl/utils/sorting.py b/cyberdrop_dl/utils/sorting.py
index 43fcb698b..61da3584b 100644
--- a/cyberdrop_dl/utils/sorting.py
+++ b/cyberdrop_dl/utils/sorting.py
@@ -50,7 +50,7 @@ class Sorter:
file.unlink()
return
for i in itertools.count(1):
- dest = dest.parent / f"{dest.stem}{copy.deepcopy(self.incrementer_format).format(i=i)}{dest.suffix}"
+ dest = dest.parent / f"{dest.stem}{self.incrementer_format.format(i=i)}{dest.suffix}"
if not dest.is_file():
break
file.rename(dest)