summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()