diff options
author | Mattias Andrée <maandree@kth.se> | 2016-11-25 14:31:43 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-11-25 14:31:43 +0100 |
commit | f94e9fd58d3bfc4fa3e2d031dd568c18855e3e97 (patch) | |
tree | 16b95e72671fdec7a1bad4f57b11cc1496ebff6b /src | |
parent | Add SCROLL_LEFT and SCROLL_RIGHT (diff) | |
download | xpybar-f94e9fd58d3bfc4fa3e2d031dd568c18855e3e97.tar.gz xpybar-f94e9fd58d3bfc4fa3e2d031dd568c18855e3e97.tar.bz2 xpybar-f94e9fd58d3bfc4fa3e2d031dd568c18855e3e97.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src')
-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: |