aboutsummaryrefslogtreecommitdiff
path: root/bindings/python-cffi/notmuch2/_database.py
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2022-01-09 19:34:58 -0400
committerDavid Bremner <david@tethera.net>2022-01-09 19:34:58 -0400
commit63d3b2b5cf8702b5fecea77392ce46f8a8249175 (patch)
treece8274b3260577a70c6cc4e8c02f1ba013b8fe09 /bindings/python-cffi/notmuch2/_database.py
parent22e04ed01acc115b7fb25b60231014f585f11c4a (diff)
parent51c287ead807b6e3830bc5d393a7e9a89f36db86 (diff)
Merge tag '0.34.3'
notmuch 0.34.3 release
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 14a8f15c..d7485b4d 100644
--- a/bindings/python-cffi/notmuch2/_database.py
+++ b/bindings/python-cffi/notmuch2/_database.py
@@ -139,7 +139,7 @@ class Database(base.NotmuchObject):
path = os.fsencode(path)
return path
- def __init__(self, path=None, mode=MODE.READ_ONLY, config=CONFIG.EMPTY):
+ def __init__(self, path=None, mode=MODE.READ_ONLY, config=CONFIG.SEARCH):
if isinstance(mode, str):
mode = self.STR_MODE_MAP[mode]
self.mode = mode