aboutsummaryrefslogtreecommitdiffhomepage
path: root/bindings/python/notmuch/database.py
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/python/notmuch/database.py')
-rw-r--r--bindings/python/notmuch/database.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/python/notmuch/database.py b/bindings/python/notmuch/database.py
index 2eae69ed..24da8e99 100644
--- a/bindings/python/notmuch/database.py
+++ b/bindings/python/notmuch/database.py
@@ -935,7 +935,7 @@ class Filenames(object):
file_ = Filenames._get(self._files_p)
self._move_to_next(self._files_p)
- return file_.decode('utf-8', errors='ignore')
+ return file_.decode('utf-8', 'ignore')
next = __next__ # python2.x iterator protocol compatibility
def __len__(self):