X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=bindings%2Fpython%2Fnotmuch%2Fdatabase.py;fp=bindings%2Fpython%2Fnotmuch%2Fdatabase.py;h=7ddf5cfe7d8d265980963ca09a1388b36717c851;hb=c8cb2beda711df8352680402a0df263fb8f31954;hp=fe692eb7ae4e38dceeb9aae24ca9b6cccb595a09;hpb=3d19e6f1fdc179c3957866e29b9bd5da70eb0dce;p=obsolete%2Fnotmuch-old 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)