Skip to content

Commit 283c62c

Browse files
committed
Resolve pyflakes flagged issue.
1 parent d91e290 commit 283c62c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def pdfs_merge(attachments: List[UploadFile]):
5656
"""
5757
# First validate that all the attachments are PDFs.
5858
if len(attachments) > 10:
59-
raise HTTPException(status_code=400, detail=f"A maximum of 10 attachments are allowed.")
59+
raise HTTPException(status_code=400, detail="A maximum of 10 attachments are allowed.")
6060
logger.info("Performing mime type validation on attachments.")
6161
for attachment in attachments:
6262
# Save the attachment for further analysis

0 commit comments

Comments
 (0)