X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=bindings%2Fpython%2Fnotmuch%2Fdatabase.py;h=7ddf5cfe7d8d265980963ca09a1388b36717c851;hb=294f956d860872f8aab970b7785d5752be5d8421;hp=fe692eb7ae4e38dceeb9aae24ca9b6cccb595a09;hpb=8728340644da8af1d60af6c9ee329a83549b9ce7;p=notmuch diff --git a/bindings/python/notmuch/database.py b/bindings/python/notmuch/database.py index fe692eb7..7ddf5cfe 100644 --- a/bindings/python/notmuch/database.py +++ b/bindings/python/notmuch/database.py @@ -188,7 +188,7 @@ class Database(object): "already has an open one.") db = NotmuchDatabaseP() - status = Database._create(_str(path), Database.MODE.READ_WRITE, byref(db)) + status = Database._create(_str(path), byref(db)) if status != STATUS.SUCCESS: raise NotmuchError(status)