From 381330ef5f1b677079a219505cd8be76d8615ace Mon Sep 17 00:00:00 2001 From: Audionut Date: Sun, 24 Nov 2024 19:59:17 +1000 Subject: [PATCH] skipping might not be present --- upload.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/upload.py b/upload.py index 718572ba..ac2155cf 100644 --- a/upload.py +++ b/upload.py @@ -507,7 +507,7 @@ async def check_mod_q_and_draft(tracker_class, meta, debug, disctype): continue dupes = await tracker_class.search_existing(meta, disctype) - if meta['skipping'] is None: + if 'skipping' not in meta or meta['skipping'] is None: dupes = await common.filter_dupes(dupes, meta) meta = dupe_check(dupes, meta) @@ -559,11 +559,11 @@ async def check_mod_q_and_draft(tracker_class, meta, debug, disctype): await tracker_class.api_test(meta) dupes = await tracker_class.search_existing(meta, disctype) - if meta['skipping'] is None: + if 'skipping' not in meta or meta['skipping'] is None: dupes = await common.filter_dupes(dupes, meta) meta = dupe_check(dupes, meta) - if meta['skipping'] is None: + if 'skipping' not in meta or meta['skipping'] is None: # Proceed with upload if the meta is set to upload if tracker == "TL" or meta.get('upload', False): await tracker_class.upload(meta, disctype)