aboutsummaryrefslogtreecommitdiff
path: root/files.lua
diff options
context:
space:
mode:
Diffstat (limited to 'files.lua')
-rw-r--r--files.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/files.lua b/files.lua
index 9265056..130a880 100644
--- a/files.lua
+++ b/files.lua
@@ -60,7 +60,7 @@ if ok then
end
elseif file_type == 'directory' then
for subfile in lfs.dir(filename) do
- if not (subfile == "." or subfile == "..") then
+ if not (subfile == "." or subfile == ".." or not subfile:match("%.nom$")) then
browse(filename .. "/" .. subfile)
end
end