From 54a64c486f2247c7a617c0d923cbc54c73d1e0e3 Mon Sep 17 00:00:00 2001 From: Jules-WinnfieldX Date: Wed, 6 Dec 2023 12:39:54 -0700 Subject: [PATCH] Don't sort on retry --- cyberdrop_dl/__init__.py | 2 +- cyberdrop_dl/main.py | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py index 499e08884..83b00274a 100644 --- a/cyberdrop_dl/__init__.py +++ b/cyberdrop_dl/__init__.py @@ -1 +1 @@ -__version__ = "5.0.58" +__version__ = "5.0.59" diff --git a/cyberdrop_dl/main.py b/cyberdrop_dl/main.py index 7ec67a8f4..beee01e78 100644 --- a/cyberdrop_dl/main.py +++ b/cyberdrop_dl/main.py @@ -83,7 +83,7 @@ async def director(manager: Manager) -> None: clear_screen_proc = await asyncio.create_subprocess_shell('cls' if os.name == 'nt' else 'clear') await clear_screen_proc.wait() - if manager.config_manager.settings_data['Sorting']['sort_downloads']: + if manager.config_manager.settings_data['Sorting']['sort_downloads'] and not manager.args_manager.retry: sorter = Sorter(manager) await sorter.sort() await check_partials_and_empty_folders(manager) diff --git a/pyproject.toml b/pyproject.toml index 6ae1452fd..f846ecba0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "cyberdrop-dl" -version = "5.0.58" +version = "5.0.59" description = "Bulk downloader for multiple file hosts" authors = ["Jules Winnfield "] readme = "README.md"