diff --git a/cities/conf.py b/cities/conf.py index ff3e3000..87041cad 100644 --- a/cities/conf.py +++ b/cities/conf.py @@ -288,7 +288,7 @@ def get_locales(self): try: locales.remove('LANGUAGES') locales += [e[0] for e in django_settings.LANGUAGES] - except: + except Exception: pass return set([e.lower() for e in locales])