Skip to content
Snippets Groups Projects
Commit 1b0df7d6 authored by Thomas Kluyver's avatar Thomas Kluyver Committed by Karim Ahmed
Browse files

Remove setlocale() call (hopefully PEP 538 solved this)

parent 4ed9d2f5
No related branches found
No related tags found
1 merge request!984Try updating to Python 3.11 & update all deps
...@@ -583,10 +583,6 @@ def make_par_table(parms): ...@@ -583,10 +583,6 @@ def make_par_table(parms):
def run(argv=None): def run(argv=None):
""" Run a calibration task with parser arguments """ """ Run a calibration task with parser arguments """
# Ensure files are opened as UTF-8 by default, regardless of environment.
if "readthedocs.org" not in sys.executable:
locale.setlocale(locale.LC_CTYPE, ('C', 'UTF-8'))
if argv is None: if argv is None:
argv = sys.argv argv = sys.argv
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment