From 0f180fa8e8843fccac5a4816a07ca88e0fe1a201 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 9 Sep 2017 15:55:45 +0100 Subject: [PATCH] [Minor] Fix some lua issues --- lualib/lua_nn.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lualib/lua_nn.lua b/lualib/lua_nn.lua index 90d88c12c..512e904a0 100644 --- a/lualib/lua_nn.lua +++ b/lualib/lua_nn.lua @@ -14,16 +14,14 @@ See the License for the specific language governing permissions and limitations under the License. ]]-- -local rspamd_util = require "rspamd_util" +local rspamd_logger = require "rspamd_logger" local torch -local nn local exports = {} local lua_nn_models = {} if rspamd_config:has_torch() then torch = require "torch" - nn = require "nn" end if torch then -- 2.39.5