Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ManiMatter committed May 24, 2024
1 parent 93a3ca1 commit 2362586
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 42 deletions.
4 changes: 2 additions & 2 deletions src/jobs/remove_failed_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ async def remove_failed_imports(settingsDict, BASE_URL, API_KEY, NAME, deleted_d
and queueItem['trackedDownloadStatus'] == 'warning' \
and queueItem['trackedDownloadState'] == 'importPending':

for status_message in queueItem['statusMessages']:
if not settingsDict['FAILED_IMPORT_MESSAGE_PATTERNS'] or any(any(pattern in message for pattern in settingsDict['FAILED_IMPORT_MESSAGE_PATTERNS']) for message in messages):
for statusMessage in queueItem['statusMessages']:
if not settingsDict['FAILED_IMPORT_MESSAGE_PATTERNS'] or any(any(pattern in message for pattern in settingsDict['FAILED_IMPORT_MESSAGE_PATTERNS']) for message in statusMessage.get('messages', [])):
affectedItems.append(queueItem)
break

Expand Down
40 changes: 0 additions & 40 deletions src/jobs/remove_no_format_upgrade.py

This file was deleted.

0 comments on commit 2362586

Please sign in to comment.