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

Commit

Permalink
Fix setting of variables to false
Browse files Browse the repository at this point in the history
  • Loading branch information
Jules-WinnfieldX committed Dec 4, 2023
1 parent b20d09e commit 657d943
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 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.24"
__version__ = "5.0.25"
9 changes: 9 additions & 0 deletions cyberdrop_dl/ui/prompts/settings_user_prompts.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ def edit_download_options_prompt(config: Dict) -> None:
], long_instruction="ARROW KEYS: Navigate | TAB: Select | ENTER: Confirm"
).execute()

for key in config["Download_Options"].keys():
config["Download_Options"][key] = False

for key in action:
config["Download_Options"][key] = True

Expand Down Expand Up @@ -265,6 +268,9 @@ def edit_ignore_options_prompt(config: Dict) -> None:
], long_instruction="ARROW KEYS: Move | TAB: Select | ENTER: Confirm",
).execute()

for key in config["Ignore_Options"].keys():
config["Ignore_Options"][key] = False

for key in action:
config["Ignore_Options"][key] = True

Expand Down Expand Up @@ -318,6 +324,9 @@ def edit_runtime_options_prompt(config: Dict) -> None:
], long_instruction="ARROW KEYS: Move | TAB: Select | ENTER: Confirm",
).execute()

for key in config["Runtime_Options"].keys():
config["Runtime_Options"][key] = False

for key in action:
config["Runtime_Options"][key] = True

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.24"
version = "5.0.25"
description = "Bulk downloader for multiple file hosts"
authors = ["Jules Winnfield <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 657d943

Please sign in to comment.