From c4e1d2a9754c1c43642c5b9d3fcac92eba07c85b Mon Sep 17 00:00:00 2001 From: IgorTimofeev Date: Mon, 8 May 2023 03:10:11 +0700 Subject: [PATCH] Wtf --- Applications/App Market.app/Main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Applications/App Market.app/Main.lua b/Applications/App Market.app/Main.lua index cb602139..7145c3ff 100644 --- a/Applications/App Market.app/Main.lua +++ b/Applications/App Market.app/Main.lua @@ -220,7 +220,7 @@ local function checkContentLength(url) _, _, responseData = handle:response() until responseData or computer.uptime() >= deadline - if responseData and responseData["Content-Length"] then + if responseData and responseData["Content-Length"] and responseData["Content-Length"][1] then if tonumber(responseData["Content-Length"][1]) <= 10240 then return handle else