Skip to content

Commit

Permalink
Fix bare exception
Browse files Browse the repository at this point in the history
  • Loading branch information
blag committed Feb 11, 2018
1 parent 38fbe3b commit a1d320b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cities/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit a1d320b

Please sign in to comment.