diff --git a/src/webapp.py b/src/webapp.py index 40a515e..681a83e 100644 --- a/src/webapp.py +++ b/src/webapp.py @@ -387,7 +387,7 @@ class ScriptFormWebApp(WebAppHandler): params['minval'] = field.get("min", '') params['maxval'] = field.get("max", '') - if field['type'] in ('date'): + if field['type'] == 'date': params['minval'] = field.get('min', '') params['maxval'] = field.get('max', '')