From 22560fbfbe2214f260c71c0ae5c928f81a431b76 Mon Sep 17 00:00:00 2001 From: mms Date: Tue, 12 Nov 2024 22:50:10 +0100 Subject: feat: README --- lib/osugiru/database.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/osugiru/database.rb') 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) -- cgit v1.2.3