Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Audionut committed Sep 5, 2024
1 parent 7034c4e commit 7fb6b1b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,19 +349,19 @@ async def do_the_thing(base_dir):
if tracker == "LST":
lst = LST(config=config)
modq, draft = await asyncio.gather(lst.get_flag(meta, 'modq'), lst.get_flag(meta, 'draft'))

modq = 'Yes' if modq else 'No'
draft = 'Yes' if draft else 'No'

upload_to_lst = meta['unattended'] or cli_ui.ask_yes_no(f"Upload to LST? (draft: {draft}) (modq: {modq}) {debug}", default=meta['unattended'])
if not upload_to_lst:
return

console.print("Uploading to LST")

if check_banned_group('LST', lst.banned_groups, meta):
return

dupes = await lst.search_existing(meta)
dupes = await common.filter_dupes(dupes, meta)
meta = dupe_check(dupes, meta)
Expand Down

0 comments on commit 7fb6b1b

Please sign in to comment.