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