This commit is contained in:
yagop 2014-07-08 21:00:52 +02:00
parent 5b023bffc6
commit 3737158548

View File

@ -175,7 +175,7 @@ end
-- Saves a string to file -- Saves a string to file
function write_to_file(filename, value) function write_to_file(filename, value)
if (value) then if (value) then
local file = io.open(filename,"w+") local file = io.open(filename,"a")
file:write(value) file:write(value)
file:close() file:close()
end end