diff options
author | ubq323 <ubq323@ubq323.website> | 2022-08-05 13:49:08 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2022-08-05 13:49:08 +0100 |
commit | 3245a8c4bdbde3f42828e2a60ccd840f700c88fe (patch) | |
tree | 1d702174a1f8dd569ea9f9861d2552ea45e2769b | |
parent | 61d81b063cb340bfde22e0d36672f1bcaca4b56f (diff) |
pm
-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() |