mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-11-08 21:21:06 +00:00
Fix missing import
This commit is contained in:
parent
3d217383de
commit
52514957d1
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ from flask_security import admin_change_password, current_user
|
|||
from sqlalchemy import and_
|
||||
from wtforms import BooleanField, Form, RadioField, SelectField, StringField
|
||||
from wtforms.fields import DateField
|
||||
from wtforms.validators import NumberRange
|
||||
from wtforms.validators import NumberRange, Optional
|
||||
|
||||
from . import assistantSpace, db
|
||||
from .customClasses import SecureAssistantBaseView, SecureAssistantModelView
|
||||
|
|
|
@ -9,7 +9,7 @@ def parse_bool(str):
|
|||
elif str_lower == "true":
|
||||
return True
|
||||
else:
|
||||
raise (ValueError(f'Can not parse a bool from "{str}"'))
|
||||
raise ValueError(f'Can not parse a bool from "{str}"')
|
||||
|
||||
|
||||
def randomPassword():
|
||||
|
|
Loading…
Reference in a new issue