Skip to content

Commit 5928de2

Browse files
fix: lint
1 parent 64604d8 commit 5928de2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/worker/tasks/upload_finisher.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,8 @@ def run_impl(
294294
# Only skip if ALL uploads exist in DB and ALL are in final states
295295
if len(uploads_in_db) == len(upload_ids):
296296
all_already_processed = all(
297-
upload.state in ("merged", "processed", "error") for upload in uploads_in_db
297+
upload.state in ("merged", "processed", "error")
298+
for upload in uploads_in_db
298299
)
299300
if all_already_processed:
300301
log.info(

0 commit comments

Comments
 (0)