Skip to content

Commit

Permalink
Removes old await
Browse files Browse the repository at this point in the history
  • Loading branch information
mrharpo committed Apr 3, 2024
1 parent 644b43a commit 22f2383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chowda/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ async def download_mmif(
batches = db.exec(select(Batch).where(Batch.id.in_(pks))).all()
all_mmif_pks = [mmif.id for batch in batches for mmif in batch.output_mmifs]
try:
return await download_mmif(all_mmif_pks)
return download_mmif(all_mmif_pks)
except Exception as error:
# TODO: pop 'error' out of session and display with javascript
# dangrerAlert() when admin/batch/list renders.
Expand Down

0 comments on commit 22f2383

Please sign in to comment.