Minor cleanup

This commit is contained in:
Simone Mainardi 2020-07-23 23:44:29 +02:00
parent 36478ba3ee
commit 66b684d8e9

View file

@ -935,7 +935,6 @@ function plugins_utils.loadModule(plugin_name, module_name)
lua_path_utils.package_path_preprend(RUNTIME_PATHS.modules)
local lua_path = os_utils.fixPath(RUNTIME_PATHS.modules .. "/" .. plugin_name .. "/" .. module_name .. ".lua")
local req_name = string.format("%s.%s", plugin_name, module_name)
local req = require(req_name)