aboutsummaryrefslogtreecommitdiff
path: root/bindings/python-cffi/notmuch2/_database.py
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-09-10 07:34:16 -0300
committerDavid Bremner <david@tethera.net>2021-09-10 07:34:16 -0300
commit7059f0ed5dbdb871d47b6bf34af7671931c233d1 (patch)
tree85733b25b3171edb3c965e55c607b00d55e5de32 /bindings/python-cffi/notmuch2/_database.py
parent674775134fa752f566174f17b618070b564190b3 (diff)
parentb6cfc8a61c20aec1e54185829718f87c7f7dea79 (diff)
Merge branch 'debian/bullseye' into debian/buster-backports
Update to current Debian stable
Diffstat (limited to 'bindings/python-cffi/notmuch2/_database.py')
-rw-r--r--bindings/python-cffi/notmuch2/_database.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/python-cffi/notmuch2/_database.py b/bindings/python-cffi/notmuch2/_database.py
index 5ab0f20a..868f4408 100644
--- a/bindings/python-cffi/notmuch2/_database.py
+++ b/bindings/python-cffi/notmuch2/_database.py
@@ -578,7 +578,7 @@ class Database(base.NotmuchObject):
if exclude_tags is not None:
for tag in exclude_tags:
if isinstance(tag, str):
- tag = str.encode('utf-8')
+ tag = tag.encode('utf-8')
capi.lib.notmuch_query_add_tag_exclude(query_p, tag)
return querymod.Query(self, query_p)