Skip to content

Commit

Permalink
Minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosribas committed May 22, 2024
1 parent cd89393 commit bd850ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ async def submit_job(
) -> api.SubmissionResponse:
url = request.url

if sequence_file is None:
if sequence_file is None or sequence_file.filename == "":
raise HTTPException(
status_code=400, detail="Please upload a file in FASTA format"
)
Expand Down

0 comments on commit bd850ac

Please sign in to comment.