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

Commit

Permalink
Don't remove config twice.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jules-WinnfieldX committed Dec 4, 2023
1 parent 4540074 commit 3881a2d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cyberdrop_dl/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "5.0.12"
__version__ = "5.0.13"
1 change: 0 additions & 1 deletion cyberdrop_dl/managers/config_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ def delete_config(self, config_name: str) -> None:
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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 3881a2d

Please sign in to comment.