aboutsummaryrefslogtreecommitdiffstats
path: root/yamlish.py
diff options
context:
space:
mode:
Diffstat (limited to 'yamlish.py')
-rw-r--r--yamlish.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yamlish.py b/yamlish.py
index a387d35..0c84c3b 100644
--- a/yamlish.py
+++ b/yamlish.py
@@ -190,7 +190,7 @@ def load(source, ignore_wrong_characters=False):
except UnicodeDecodeError:
log.debug('in ignore_wrong_characters = %s', ignore_wrong_characters)
if ignore_wrong_characters:
- inobj += line.decode('utf8', errors='ignore') + '\n'
+ inobj += line.decode('utf8', 'ignore') + '\n'
else:
raise
log.debug('restarting load with inobj as string')