From: Vsevolod Stakhov Date: Sat, 9 Sep 2017 14:55:45 +0000 (+0100) Subject: [Minor] Fix some lua issues X-Git-Tag: 1.7.0~655 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0f180fa8e8843fccac5a4816a07ca88e0fe1a201;p=thirdparty%2Frspamd.git [Minor] Fix some lua issues --- diff --git a/lualib/lua_nn.lua b/lualib/lua_nn.lua index 90d88c12c0..512e904a0d 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