aboutsummaryrefslogtreecommitdiffstats
path: root/src/__main__.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsrc/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/__main__.py b/src/__main__.py
index dd94b45..6a296ec 100755
--- a/src/__main__.py
+++ b/src/__main__.py
@@ -546,7 +546,7 @@ if config_file is not None:
code = None
with open(config_file, 'rb') as script:
code = script.read()
- code = code.decode('utf-8', 'error') + '\n'
+ code = code.decode('utf-8', 'strict') + '\n'
code = compile(code, config_file, 'exec')
g, l = globals(), dict(locals())
for key in l: