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

Commit

Permalink
Fix paths not updating on same run.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jules-WinnfieldX committed Dec 4, 2023
1 parent a461b43 commit dc9989b
Show file tree
Hide file tree
Showing 4 changed files with 4 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.17"
__version__ = "5.0.18"
2 changes: 2 additions & 0 deletions cyberdrop_dl/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ async def director(manager: Manager) -> None:
"""Runs the program and handles the UI"""
configs = manager.config_manager.get_configs()
configs_ran = []
manager.path_manager.startup()

while True:
if manager.args_manager.all_configs:
configs_to_run = list(set(configs) - set(configs_ran))
Expand Down
1 change: 0 additions & 1 deletion cyberdrop_dl/managers/config_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ def _verify_settings_config(self) -> None:
self.global_settings_data['Rate_Limiting_Options']['rate_limit'] = int(self.global_settings_data['Rate_Limiting_Options']['rate_limit'])
self.global_settings_data['Rate_Limiting_Options']['read_timeout'] = int(self.global_settings_data['Rate_Limiting_Options']['read_timeout'])


save_data = copy.deepcopy(self.settings_data)
save_data['Files']['input_file'] = str(save_data['Files']['input_file'])
save_data['Files']['download_folder'] = str(save_data['Files']['download_folder'])
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.17"
version = "5.0.18"
description = "Bulk downloader for multiple file hosts"
authors = ["Jules Winnfield <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit dc9989b

Please sign in to comment.