fix except:

This commit is contained in:
Thomas Waldmann 2013-10-03 16:52:09 +02:00
parent 745a1a7401
commit 31b44729b1

View File

@ -8,6 +8,6 @@ def add_settings(request):
context['WWW_IPV6_HOST'] = settings.WWW_IPV6_HOST
try:
context['ENABLE_PIWIK_PRODUCTION'] = settings.ENABLE_PIWIK_PRODUCTION
except:
except AttributeError:
pass
return context