diff --git a/python_apps/media-monitor2/mm2.py b/python_apps/media-monitor2/mm2.py index dc9cd160a..7e786722d 100644 --- a/python_apps/media-monitor2/mm2.py +++ b/python_apps/media-monitor2/mm2.py @@ -27,8 +27,7 @@ from api_clients import api_client as apc def setup_global(log): """ setup unicode and other stuff """ log.info("Attempting to set the locale...") - try: - mmp.configure_locale(mmp.get_system_locale()) + try: mmp.configure_locale(mmp.get_system_locale()) except FailedToSetLocale as e: log.info("Failed to set the locale...") sys.exit(1)