mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-22 16:03:19 +01:00
fix tpyo - importError vs ImportError
This commit is contained in:
parent
90b42d37ec
commit
556cf5d302
@ -16,7 +16,7 @@ from django.contrib.auth.models import User
|
||||
from django.utils.translation import ugettext as _
|
||||
try:
|
||||
from django.utils import timezone
|
||||
except importError:
|
||||
except ImportError:
|
||||
from datetime import datetime as timezone
|
||||
|
||||
from helpdesk.lib import send_templated_mail, safe_template_context
|
||||
|
@ -14,7 +14,7 @@ from django.utils.translation import ugettext_lazy as _, ugettext
|
||||
|
||||
try:
|
||||
from django.utils import timezone
|
||||
except importError:
|
||||
except ImportError:
|
||||
from datetime import datetime as timezone
|
||||
|
||||
from helpdesk.settings import HAS_TAG_SUPPORT
|
||||
|
@ -28,7 +28,7 @@ from django import forms
|
||||
|
||||
try:
|
||||
from django.utils import timezone
|
||||
except importError:
|
||||
except ImportError:
|
||||
from datetime import datetime as timezone
|
||||
|
||||
from helpdesk.forms import TicketForm, UserSettingsForm, EmailIgnoreForm, EditTicketForm, TicketCCForm, EditFollowUpForm, TicketDependencyForm
|
||||
|
Loading…
Reference in New Issue
Block a user