diff --git a/infer/lib/python/inferlib/config.py b/infer/lib/python/inferlib/config.py index 928e2c5ab..b7cba6e89 100644 --- a/infer/lib/python/inferlib/config.py +++ b/infer/lib/python/inferlib/config.py @@ -17,7 +17,7 @@ import os try: locale.setlocale(locale.LC_ALL, '') CODESET = locale.getlocale(locale.LC_CTYPE)[1] -except locale.Error: +except: CODESET = None if CODESET is None: CODESET = 'ascii'