diff options
author | mms <git@sapka.me> | 2024-11-12 22:50:10 +0100 |
---|---|---|
committer | mms <git@sapka.me> | 2024-11-12 23:12:55 +0100 |
commit | 22560fbfbe2214f260c71c0ae5c928f81a431b76 (patch) | |
tree | 0b47e7c63f715fab3a347bf08d5f50ea9e8a9561 /lib/osugiru/database.rb | |
parent | 955739e2a7be70e6abf7e95710ffe0f4a9c64481 (diff) |
feat: README
Diffstat (limited to 'lib/osugiru/database.rb')
-rw-r--r-- | lib/osugiru/database.rb | 2 |
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) |