From c4035c07e856f51790d6f94b689b3ebc7049bd97 Mon Sep 17 00:00:00 2001 From: wsor4035 <24964441+wsor4035@users.noreply.github.com> Date: Mon, 2 Sep 2024 09:51:53 -0400 Subject: [PATCH] prevent crash if mt isnt build with curl (#21) --- 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")