Mercurial > hg > markup
changeset 10:9abb7436bb10
syntax
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Tue, 03 Nov 2020 15:44:56 -0800 |
parents | aa97fe7223c8 |
children | 6ec84f2f703e |
files | markup/form.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/markup/form.py Tue Nov 03 15:43:50 2020 -0800 +++ b/markup/form.py Tue Nov 03 15:44:56 2020 -0800 @@ -102,7 +102,7 @@ except Exception as e: error = str(e) else: - if isinstance(validation, string: + if isinstance(validation, string): error = validation # error string elif validation == False: error = "Illegal value for %s" % name