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