From e145ebcd358695bfdad3478f29baec78beefdaf5 Mon Sep 17 00:00:00 2001 From: Ferry Boender Date: Sat, 4 Jul 2015 16:46:48 +0200 Subject: [PATCH] pylint. --- src/webapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', '')