mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
python: fix the creation of notmuch databases
Remove the superfluous mode argument given to notmuch_database_create fixing the creation of notmuch databases using python code. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
This commit is contained in:
parent
3d19e6f1fd
commit
c8cb2beda7
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue