aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-11-25 14:31:43 +0100
committerMattias Andrée <maandree@kth.se>2016-11-25 14:31:43 +0100
commitf94e9fd58d3bfc4fa3e2d031dd568c18855e3e97 (patch)
tree16b95e72671fdec7a1bad4f57b11cc1496ebff6b /src
parentAdd SCROLL_LEFT and SCROLL_RIGHT (diff)
downloadxpybar-f94e9fd58d3bfc4fa3e2d031dd568c18855e3e97.tar.gz
xpybar-f94e9fd58d3bfc4fa3e2d031dd568c18855e3e97.tar.bz2
xpybar-f94e9fd58d3bfc4fa3e2d031dd568c18855e3e97.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
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: