Trying to actually fix naked except

This commit is contained in:
Garret Wassermann 2017-12-06 02:21:46 -05:00
parent 0b249e1693
commit c085dba901

View File

@ -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):