From aad419329b046a12882a117f6ccf2a138a9dc8f2 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Mon, 27 Jun 2022 22:50:20 +0100 Subject: pm --- pm.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pm.lua b/pm.lua index ff2bef6..5fed3d0 100644 --- a/pm.lua +++ b/pm.lua @@ -1,5 +1,5 @@ local function dl(filename) - local file=fs.open("/"..filename..".lua") + local file=fs.open("/"..filename..".lua","w") local res = http.get("https://g.gh0.pw/ccprogs/plain/"..filename..".lua") file.write(res.readAll()) end -- cgit v1.2.3