Fixed the documentation of the BaseAccountExists validator.

This commit is contained in:
依瑪貓 2023-02-07 09:28:10 +08:00
parent 7b2089bdfb
commit be10984cbb

View File

@ -32,7 +32,7 @@ from accounting.utils.user import get_current_user_pk
class BaseAccountExists: class BaseAccountExists:
"""The validator to check if the base account code exists.""" """The validator to check if the base account exists."""
def __call__(self, form: FlaskForm, field: StringField) -> None: def __call__(self, form: FlaskForm, field: StringField) -> None:
if field.data == "": if field.data == "":