Skip to content

Commit

Permalink
prevent crash if mt isnt build with curl
Browse files Browse the repository at this point in the history
  • Loading branch information
wsor4035 committed Sep 2, 2024
1 parent 973ee2c commit 823f65d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit 823f65d

Please sign in to comment.