Fix a bug in optional validator that breaks it when using non-string fields such as file uploads. Thanks to kaelten for the report.
Fix a bug in optional validator that breaks it when using non-string fields such as file uploads. Thanks to kaelten for the report.

clones/wtforms