Skip to content

Bulk asynchronous downloader for multiple file hosts

Don't remove config twice.

Jules-WinnfieldX3881a2dbebf2
diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py
index a64c06dae..9a1189ab7 100644
--- a/cyberdrop_dl/__init__.py
+++ b/cyberdrop_dl/__init__.py
@@ -1 +1 @@
-__version__ = "5.0.12"
+__version__ = "5.0.13"
diff --git a/cyberdrop_dl/managers/config_manager.py b/cyberdrop_dl/managers/config_manager.py
index 273d5509e..8314aec0f 100644
--- a/cyberdrop_dl/managers/config_manager.py
+++ b/cyberdrop_dl/managers/config_manager.py
@@ -162,7 +162,6 @@ class ConfigManager:
configs.remove(config_name)
if self.manager.cache_manager.get("default_config") == config_name:
- configs.remove(config_name)
self.manager.cache_manager.save("default_config", configs[0])
config = self.manager.path_manager.config_dir / config_name
diff --git a/pyproject.toml b/pyproject.toml
index 63024b716..0e11ce9d4 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cyberdrop-dl"
-version = "5.0.12"
+version = "5.0.13"
description = "Bulk downloader for multiple file hosts"
authors = ["Jules Winnfield <[email protected]>"]
readme = "README.md"