Skip to content

Commit

Permalink
fix: PEP8
Browse files Browse the repository at this point in the history
  • Loading branch information
worldbeater committed Apr 23, 2024
1 parent bf0dc49 commit 8075d3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class CodeLength:
class StudentMessageForm(FlaskForm):
code = StringField("code", [
DataRequired(message="Данное поле не может быть пустым!"),
Length(min=CodeLength.min, max=CodeLength.max, message="Код должен содержать не менее 10 и не более 10⁴ символов!"),
Length(min=CodeLength.min, max=CodeLength.max, message="Код должен содержать от 10 до 10⁴ символов!"),
])


Expand Down

0 comments on commit 8075d3b

Please sign in to comment.