From e2a8b974dd82766ed4050f7d17de3b21f4273064 Mon Sep 17 00:00:00 2001 From: Martin Whitehouse Date: Fri, 22 Jul 2022 01:21:25 +0200 Subject: [PATCH] Removed unused imports, format long line --- helpdesk/forms.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/helpdesk/forms.py b/helpdesk/forms.py index 9aa32a69..0db3016c 100644 --- a/helpdesk/forms.py +++ b/helpdesk/forms.py @@ -7,7 +7,7 @@ forms.py - Definitions of newforms-based forms for creating and maintaining tickets. """ import logging -from datetime import datetime, date, time +from datetime import datetime from django.core.exceptions import ObjectDoesNotExist, ValidationError from django import forms @@ -226,7 +226,10 @@ class AbstractTicketForm(CustomFieldMixin, forms.Form): widget=forms.FileInput(attrs={'class': 'form-control-file'}), required=False, label=_('Attach File'), - help_text=_('You can attach a file to this ticket. Only file types such as plain text (.txt), a document (.pdf, .docx, or .odt), or screenshot (.png or .jpg) may be uploaded.'), + help_text=_('You can attach a file to this ticket. ' + 'Only file types such as plain text (.txt), ' + 'a document (.pdf, .docx, or .odt), ' + 'or screenshot (.png or .jpg) may be uploaded.'), ) class Media: