diff --git a/pagure/forms.py b/pagure/forms.py index 2a63713..682beb2 100644 --- a/pagure/forms.py +++ b/pagure/forms.py @@ -304,7 +304,8 @@ class UpdateIssueForm(FlaskForm): close_status = wtforms.SelectField( 'Closed as', [wtforms.validators.Optional()], - choices=[] + choices=[], + coerce=lambda val: unicode(val) if val else None ) def __init__(self, *args, **kwargs):