Skip to content

Commit

Permalink
Small bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
ManiMatter committed Apr 8, 2024
1 parent a610a9c commit 3d33e88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jobs/remove_no_format_upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async def remove_no_format_upgrade(settingsDict, BASE_URL, API_KEY, NAME, delete
and queueItem['trackedDownloadState'] == 'importPending':

for status_message in queueItem['statusMessages']:
if any(message.startswith("Not a Custom Format upgrade for existing") for message in status_message.get('messages', [])):
if any(message.startswith("Not a Custom Format upgrade for existing") or message.startswith("Not an upgrade for existing") for message in status_message.get('messages', [])):
affectedItems.append(queueItem)
break

Expand Down

0 comments on commit 3d33e88

Please sign in to comment.