aboutsummaryrefslogtreecommitdiff
path: root/lib/osugiru/database.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/osugiru/database.rb')
-rw-r--r--lib/osugiru/database.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/osugiru/database.rb b/lib/osugiru/database.rb
index d014c94..0d33a24 100644
--- a/lib/osugiru/database.rb
+++ b/lib/osugiru/database.rb
@@ -5,7 +5,7 @@ module Osugiru
attr_reader :db
def initialize(path:)
- @db = ::Notmuch::Database.new(path)
+ @db = ::Notmuch::Database.new(path, mode: Notmuch::MODE_READ_WRITE)
end
def query(query)