diff options
-rw-r--r-- | pm.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -95,7 +95,7 @@ local function dlfile(filename) print("creating directory "..dir) fs.makeDir(dir) end - local file,err=fs.open(dest,"w") + local file,err=fs.open(dest,"wb") if err then error("fs.open "..err) end local res,err = http.get{url=src,binary=true} if err then error("http.get "..err) end |