Skip to content

Commit

Permalink
skipping might not be present
Browse files Browse the repository at this point in the history
  • Loading branch information
Audionut committed Nov 24, 2024
1 parent dba2e9d commit 381330e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 381330e

Please sign in to comment.