diff options
-rw-r--r-- | wqflask/wqflask/metadata_edits.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/metadata_edits.py b/wqflask/wqflask/metadata_edits.py index 74f1cd15..1f86eaa9 100644 --- a/wqflask/wqflask/metadata_edits.py +++ b/wqflask/wqflask/metadata_edits.py @@ -830,7 +830,7 @@ def approve_case_attribute_data(): "INSERT INTO CaseAttribute " "(Name, Description) VALUES " "(%s, %s)", - (data.get("name"), data.get("description"),)) + (data.get("name").strip(), data.get("description").strip(),)) cursor.execute( "UPDATE caseattributes_audit SET " "status = 'approved' WHERE id = %s", |