This commit is contained in:
he2ss 2022-02-08 16:49:41 +01:00
parent aadf53ee71
commit c1ec091034

View file

@ -25,8 +25,8 @@ function M.read_file(path)
end
function M.file_exist(path)
if path ~= nil then
return false
if path == nil then
return nil
end
local f = io.open(path, "r")
if f ~= nil then