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

Commit

Permalink
fix ui references sort schemas wrong.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jules-WinnfieldX committed Dec 6, 2023
1 parent 500f823 commit 41e4e25
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 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.53"
__version__ = "5.0.54"
24 changes: 12 additions & 12 deletions cyberdrop_dl/ui/prompts/settings_user_prompts.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,30 +353,30 @@ def edit_sort_options_prompt(config: Dict) -> None:
default=config['Sorting']['sort_incremementer_format'],
validate=EmptyInputValidator("Input should not be empty")
).execute()
sorted_audio_folder = inquirer.text(
sorted_audio = inquirer.text(
message="Enter the format you want to sort audio files into:",
default=config['Sorting']['sorted_audio_folder'],
default=config['Sorting']['sorted_audio'],
validate=EmptyInputValidator("Input should not be empty")
).execute()
sorted_video_folder = inquirer.text(
sorted_video = inquirer.text(
message="Enter the format you want to sort video files into:",
default=config['Sorting']['sorted_video_folder'],
default=config['Sorting']['sorted_video'],
validate=EmptyInputValidator("Input should not be empty")
).execute()
sorted_image_folder = inquirer.text(
sorted_image = inquirer.text(
message="Enter the format you want to sort image files into:",
default=config['Sorting']['sorted_image_folder'],
default=config['Sorting']['sorted_image'],
validate=EmptyInputValidator("Input should not be empty")
).execute()
sorted_other_folder = inquirer.text(
sorted_other = inquirer.text(
message="Enter the format you want to sort other files into:",
default=config['Sorting']['sorted_other_folder'],
default=config['Sorting']['sorted_other'],
validate=EmptyInputValidator("Input should not be empty")
).execute()

config['Sorting']['sort_folder'] = Path(sort_folder)
config['Sorting']['sort_incremementer_format'] = sort_incremementer_format
config['Sorting']['sorted_audio'] = sorted_audio_folder
config['Sorting']['sorted_video'] = sorted_video_folder
config['Sorting']['sorted_image'] = sorted_image_folder
config['Sorting']['sorted_other'] = sorted_other_folder
config['Sorting']['sorted_audio'] = sorted_audio
config['Sorting']['sorted_video'] = sorted_video
config['Sorting']['sorted_image'] = sorted_image
config['Sorting']['sorted_other'] = sorted_other
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.53"
version = "5.0.54"
description = "Bulk downloader for multiple file hosts"
authors = ["Jules Winnfield <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 41e4e25

Please sign in to comment.