diff options
Diffstat (limited to 'src/__main__.py')
-rwxr-xr-x | src/__main__.py | 2 |
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: |