formatting
This commit is contained in:
parent
c287e11bee
commit
3509cfc212
|
@ -27,8 +27,7 @@ from api_clients import api_client as apc
|
||||||
def setup_global(log):
|
def setup_global(log):
|
||||||
""" setup unicode and other stuff """
|
""" setup unicode and other stuff """
|
||||||
log.info("Attempting to set the locale...")
|
log.info("Attempting to set the locale...")
|
||||||
try:
|
try: mmp.configure_locale(mmp.get_system_locale())
|
||||||
mmp.configure_locale(mmp.get_system_locale())
|
|
||||||
except FailedToSetLocale as e:
|
except FailedToSetLocale as e:
|
||||||
log.info("Failed to set the locale...")
|
log.info("Failed to set the locale...")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
Loading…
Reference in New Issue