fix syntax

This commit is contained in:
2022-01-20 10:20:33 +11:00
parent 758be89883
commit c800bebaab

View File

@@ -116,7 +116,7 @@ def new_person():
form = PersonForm(request.form)
page_title='Create new Person'
if request.method='POST':
if request.method=='POST':
person = Person( tag=request.form["tag"], surname=request.form["surname"], firstname=request.form["firstname"] )
try:
db.session.add(person)