From 536caec8b760faf8504725f1f96b107d385a211c Mon Sep 17 00:00:00 2001 From: Ferry Boender Date: Mon, 25 May 2015 22:01:42 +0200 Subject: [PATCH] Bugfix in validation message. --- src/scriptform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scriptform.py b/src/scriptform.py index 7046064..d57e46a 100755 --- a/src/scriptform.py +++ b/src/scriptform.py @@ -503,7 +503,7 @@ class FormDefinition: raise ValidationError("Minimum value is {0}".format(min)) if max is not None: if value > datetime.datetime.strptime(max, '%Y-%m-%d').date(): - raise ValidationError("maximum value is {0}".format(max)) + raise ValidationError("Maximum value is {0}".format(max)) return value