summaryrefslogtreecommitdiff
path: root/pm.lua
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2022-08-05 13:49:08 +0100
committerubq323 <ubq323@ubq323.website>2022-08-05 13:49:08 +0100
commit3245a8c4bdbde3f42828e2a60ccd840f700c88fe (patch)
tree1d702174a1f8dd569ea9f9861d2552ea45e2769b /pm.lua
parent61d81b063cb340bfde22e0d36672f1bcaca4b56f (diff)
pm
Diffstat (limited to 'pm.lua')
-rw-r--r--pm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/pm.lua b/pm.lua
index bf22cd5..c710769 100644
--- a/pm.lua
+++ b/pm.lua
@@ -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()