File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ def plugin_settings(settings):
5050
5151 try :
5252 settings .TEMPLATES [0 ]['OPTIONS' ]['loaders' ][0 ] = 'eox_theming.theming.template_loaders.EoxThemeTemplateLoader'
53- except AttributeError :
53+ except ( AttributeError , TypeError ) :
5454 # We must find a way to register this error
5555 pass
5656
@@ -62,7 +62,7 @@ def plugin_settings(settings):
6262 settings .TEMPLATES [1 ]['OPTIONS' ]['context_processors' ].append (eox_configuration_path )
6363
6464 settings .DEFAULT_TEMPLATE_ENGINE = settings .TEMPLATES [0 ]
65- except AttributeError :
65+ except ( AttributeError , TypeError ) :
6666 # We must find a way to register this error
6767 pass
6868
@@ -71,7 +71,7 @@ def plugin_settings(settings):
7171 'eox_theming.theming.middleware.EoxThemeMiddleware' if 'CurrentSiteThemeMiddleware' in x else x
7272 for x in settings .MIDDLEWARE
7373 ]
74- except AttributeError :
74+ except ( AttributeError , TypeError ) :
7575 # We must find a way to register this error.
7676 pass
7777
You can’t perform that action at this time.
0 commit comments