diff --git a/pagure/api/issue.py b/pagure/api/issue.py index 805f34c..68e1674 100644 --- a/pagure/api/issue.py +++ b/pagure/api/issue.py @@ -697,7 +697,7 @@ def api_assign_issue(repo, issueid, username=None): raise pagure.exceptions.APIError( 403, error_code=APIERROR.EISSUENOTALLOWED) - form = pagure.forms.AssigneIssueForm(csrf_enabled=False) + form = pagure.forms.AssignIssueForm(csrf_enabled=False) if form.validate_on_submit(): assignee = form.assignee.data try: diff --git a/pagure/forms.py b/pagure/forms.py index 63868bb..a7d19f1 100644 --- a/pagure/forms.py +++ b/pagure/forms.py @@ -262,8 +262,8 @@ class AddUserForm(wtf.Form): ) -class AssigneIssueForm(wtf.Form): - ''' Form to asiggn an user to an issue. ''' +class AssignIssueForm(wtf.Form): + ''' Form to assign an user to an issue. ''' assignee = wtforms.TextField( 'Assignee *', [wtforms.validators.Required()]