small changes needed by api update
parent
d8186e150d
commit
6662298d76
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue