From 7fb6b1ba70fb466a701bec7d1552e0e791621173 Mon Sep 17 00:00:00 2001 From: Audionut Date: Fri, 6 Sep 2024 07:51:59 +1000 Subject: [PATCH] Lint --- upload.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/upload.py b/upload.py index 3851c5e27..f84719679 100644 --- a/upload.py +++ b/upload.py @@ -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)