From 0b249e1693cce4b83bb8153a69eb8ad00a137bf3 Mon Sep 17 00:00:00 2001 From: Garret Wassermann Date: Wed, 6 Dec 2017 02:11:45 -0500 Subject: [PATCH] Fix error importing django settings due to naked except --- helpdesk/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpdesk/settings.py b/helpdesk/settings.py index ce00fded..22e185bd 100644 --- a/helpdesk/settings.py +++ b/helpdesk/settings.py @@ -8,7 +8,7 @@ from django.core.exceptions import ImproperlyConfigured try: DEFAULT_USER_SETTINGS = settings.HELPDESK_DEFAULT_SETTINGS -except ImproperlyConfigured: +except ImproperlyConfigured, AttributeError: DEFAULT_USER_SETTINGS = None if not isinstance(DEFAULT_USER_SETTINGS, dict):