mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 21:49:37 -04:00
Also allow spaces in numbers
Apparently this is a French thing.
This commit is contained in:
@@ -181,7 +181,7 @@ class ForgivingIntegerField(StringField):
|
||||
|
||||
if valuelist:
|
||||
|
||||
valuelist[0] = valuelist[0].replace(',', '')
|
||||
valuelist[0] = valuelist[0].replace(',', '').replace(' ', '')
|
||||
|
||||
try:
|
||||
valuelist[0] = int(valuelist[0])
|
||||
|
||||
Reference in New Issue
Block a user