Skip to content

Commit

Permalink
Add note about click
Browse files Browse the repository at this point in the history
  • Loading branch information
Audionut committed Aug 31, 2024
1 parent 04dd171 commit 901ed79
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ pyoxipng
rich
Jinja2
pyotp
str2bool
str2bool
click
3 changes: 2 additions & 1 deletion upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ async def do_the_thing(base_dir):
f.close()
except FileNotFoundError:
pass
console.print("[red]Click package will be required in a future update, install with requirements.txt now to be prepared")
console.print(f"[green]Gathering info for {os.path.basename(path)}")
if meta['imghost'] == None:
meta['imghost'] = config['DEFAULT']['img_host_1']
Expand Down Expand Up @@ -479,7 +480,7 @@ def get_confirmation(meta):
if not kf_confirm:
cli_ui.info('Aborting...')
exit()

console.print("[red]Click package will be required in a future update, install with requirements.txt now to be prepared")
cli_ui.info_section(cli_ui.yellow, f"Is this correct?")
cli_ui.info(f"Name: {meta['name']}")
confirm = cli_ui.ask_yes_no("Correct?", default=False)
Expand Down

0 comments on commit 901ed79

Please sign in to comment.