mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-25 09:23:39 +01:00
Trying to actually fix naked except
This commit is contained in:
parent
0b249e1693
commit
c085dba901
@ -8,7 +8,7 @@ from django.core.exceptions import ImproperlyConfigured
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
DEFAULT_USER_SETTINGS = settings.HELPDESK_DEFAULT_SETTINGS
|
DEFAULT_USER_SETTINGS = settings.HELPDESK_DEFAULT_SETTINGS
|
||||||
except ImproperlyConfigured, AttributeError:
|
except AttributeError:
|
||||||
DEFAULT_USER_SETTINGS = None
|
DEFAULT_USER_SETTINGS = None
|
||||||
|
|
||||||
if not isinstance(DEFAULT_USER_SETTINGS, dict):
|
if not isinstance(DEFAULT_USER_SETTINGS, dict):
|
||||||
|
Loading…
Reference in New Issue
Block a user