fix ortigraphy

This commit is contained in:
Cayo Puigdefabregas 2023-03-08 12:34:52 +01:00
parent ab6f89c3d2
commit eb945ae348
1 changed files with 2 additions and 2 deletions

View File

@ -140,9 +140,9 @@ class SanitizationEntityView(View):
form = SanitizationEntityForm() form = SanitizationEntityForm()
if form.validate_on_submit(): if form.validate_on_submit():
form.save() form.save()
messages.success('Sanitization datas updated successfully!') messages.success('Sanitization data updated successfully!')
else: else:
messages.error('Error modifying Sanitization datas!') messages.error('Error modifying Sanitization data!')
# db.session.commit() # db.session.commit()
return flask.redirect(flask.url_for('core.user-profile')) return flask.redirect(flask.url_for('core.user-profile'))