From 3245a8c4bdbde3f42828e2a60ccd840f700c88fe Mon Sep 17 00:00:00 2001 From: ubq323 Date: Fri, 5 Aug 2022 13:49:08 +0100 Subject: pm --- pm.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v1.2.3