Skip to content

Bulk asynchronous downloader for multiple file hosts

Another sorting patch

Jacob130077301aa0
diff --git a/cyberdrop_dl/utils/sorting.py b/cyberdrop_dl/utils/sorting.py
index 542e9cf1d..9b3ea4f2d 100644
--- a/cyberdrop_dl/utils/sorting.py
+++ b/cyberdrop_dl/utils/sorting.py
@@ -88,9 +88,10 @@ class Sorter:
downloadfolders = []
if self.sort_cdl_only:
folders = await self.db_manager.history_table.get_unique_download_paths()
- for x in folders:
- if Path(x).exists():
- downloadfolders.append(Path(x))
+ for folder in folders:
+ folder = folder[0]
+ if Path(folder).exists():
+ downloadfolders.append(Path(folder))
else:
for folder in self.download_dir.iterdir():
downloadfolders.append(folder)
diff --git a/pyproject.toml b/pyproject.toml
index 6574866a1..124c12c46 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cyberdrop-dl-patched"
-version = "5.4.63"
+version = "5.4.64"
description = "Bulk downloader for multiple file hosts"
authors = ["Jacob B <[email protected]>"]
readme = "README.md"