Skip to content

Commit

Permalink
fix: add a paranthesis for len function
Browse files Browse the repository at this point in the history
  • Loading branch information
dogkan-spiky committed Jan 3, 2023
1 parent ac78fd8 commit 6c906dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def add_message():
if (
message is None
or message.strip() == ""
or len(message.strip() > _message_max_length)
or len(message.strip()) > _message_max_length
):
return f"Message length must be 1 to {_message_max_length}", 400

Expand Down

0 comments on commit 6c906dc

Please sign in to comment.