We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d85d7ec commit 286b9d3Copy full SHA for 286b9d3
lua/papis/init.lua
@@ -110,8 +110,8 @@ function M.start()
110
111
-- only synchronise the data table if it's not empty
112
-- (in that case, we tell users to manually do it because it takes a while)
113
- if not db.data:empty() then
114
- log.debug("Setting up/syncrhonising the database")
+ if (db.data:empty() == false) and (db.metadata:empty() == false) then
+ log.debug("Setting up/syncronising the database")
115
data:sync_db()
116
end
117
else
0 commit comments