From 064064eb26a7a23159c8cae77d6f01d751ae6d97 Mon Sep 17 00:00:00 2001 From: XeonSquared Date: Sat, 9 Sep 2017 22:57:48 +1000 Subject: [PATCH] made wget less needy. --- modules/lib/wget.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/lib/wget.lua b/modules/lib/wget.lua index 39b9259..9cc0109 100644 --- a/modules/lib/wget.lua +++ b/modules/lib/wget.lua @@ -5,6 +5,7 @@ function wget(url) until R.finishConnect() S="" repeat + coroutine.yield() ns = R.read(2048) S = S .. (ns or "") until not ns