From 823f65d9842084cad2775f7c2d686d20e5864fab Mon Sep 17 00:00:00 2001 From: wsor4035 <24964441+wsor4035@users.noreply.github.com> Date: Mon, 2 Sep 2024 06:37:21 -0400 Subject: [PATCH] prevent crash if mt isnt build with curl --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index c0648d5..2a4eec0 100644 --- a/init.lua +++ b/init.lua @@ -11,7 +11,7 @@ print[[ ]] local modpath = core.get_modpath"i3" -local http = core.request_http_api() +local http = core.request_http_api and core.request_http_api() local storage = core.get_mod_storage() local _loadfile = dofile(modpath .. "/src/preprocessor.lua")