From 9cd85a25829cc600c05622c1f92a97b257918835 Mon Sep 17 00:00:00 2001 From: luke bonham Date: Sat, 8 Feb 2014 12:10:13 +0100 Subject: [PATCH] #25 fix attempt 2 --- helpers.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/helpers.lua b/helpers.lua index af6443f..f2bd5e4 100644 --- a/helpers.lua +++ b/helpers.lua @@ -35,12 +35,11 @@ end -- see if the file exists function helpers.file_exists(file) - local f = io.open(file, "rb") + local f = io.open(file) if f then f:close() end return f ~= nil end - -- get all lines from a file, returns an empty -- list/table if the file does not exist function helpers.lines_from(file) -- 2.39.2