Fix PEP8 errors detected by new pycodestyle script

This commit is contained in:
Garret Wassermann
2017-12-06 02:06:07 -05:00
parent 2290be4e1b
commit bc0125421b
11 changed files with 75 additions and 11 deletions

View File

@@ -4,11 +4,11 @@ Default settings for django-helpdesk.
"""
from django.conf import settings
from django.core.exceptions import ImproperlyConfigured
try:
DEFAULT_USER_SETTINGS = settings.HELPDESK_DEFAULT_SETTINGS
except:
except ImproperlyConfigured:
DEFAULT_USER_SETTINGS = None
if not isinstance(DEFAULT_USER_SETTINGS, dict):