small changes needed by api update

master
ademant 2020-06-19 16:41:48 +02:00
parent d8186e150d
commit 6662298d76
1 changed files with 2 additions and 2 deletions

View File

@ -130,12 +130,12 @@ end
basic_functions.read_file=function(filename) basic_functions.read_file=function(filename)
local file=io.open(filename,"r") local file=io.open(filename,"r")
out="" local out=""
if file then if file then
for line in file:lines() do for line in file:lines() do
out=out..line out=out..line
end end
file.close() file:close()
end end
return(out) return(out)
end end