diff --git a/module/fs.lua b/module/fs.lua index 0287eba..bc8e161 100644 --- a/module/fs.lua +++ b/module/fs.lua @@ -54,7 +54,7 @@ function fs.open(path,mode) -- string string -- table -- Opens file *path* with if mode:find("r") then fobj.read = fread end - if mode:find("w") then + if mode:find("w") or mode:find("a") then fobj.write = fwrite end return fobj