commit 03a432020f6eb3c9962d20e75fb0e0c8ff222289
parent b124b44c12faa4f7811a04d43a8890e7d6a75553
Author: Michael Savage <mikejsavage@gmail.com>
Date: Sun, 16 Sep 2018 12:47:35 +0300
Skip over .git in pdb list
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/actions.lua b/src/actions.lua
@@ -42,7 +42,7 @@ end
function _M.list()
local names = { }
for file in lfs.dir( paths.db ) do
- if file ~= "." and file ~= ".." then
+ if file ~= "." and file ~= ".." and file ~= ".git" then
table.insert( names, file )
end
end