diff --git a/functions.lua b/functions.lua index 1243e20..de2458d 100644 --- a/functions.lua +++ b/functions.lua @@ -130,12 +130,12 @@ end basic_functions.read_file=function(filename) local file=io.open(filename,"r") - out="" + local out="" if file then for line in file:lines() do out=out..line end - file.close() + file:close() end return(out) end