chore(pep8): Fix bad imports, unused variables, pep8 warnings and some possible bugs

This commit is contained in:
Arkadiy Korotaev
2021-03-05 09:27:23 +01:00
parent 406207ff74
commit c90811418a
14 changed files with 64 additions and 39 deletions

View File

@ -8,13 +8,11 @@ lib.py - Common functions (eg multipart e-mail)
import logging
import mimetypes
import os
from django.conf import settings
from django.utils.encoding import smart_text, smart_str
from django.utils.safestring import mark_safe
from django.utils.encoding import smart_text
from helpdesk.models import FollowUpAttachment, EmailTemplate
from helpdesk.models import FollowUpAttachment
logger = logging.getLogger('helpdesk')