From 5df58406efc4720999266d0a6bf5abfe28ab78dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Tue, 12 May 2020 13:21:03 +0200 Subject: [PATCH] fix: Catch exception when liblua-5.3 is not present Related: https://github.com/MISP/misp-modules/issues/398 --- pymisp/tools/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pymisp/tools/__init__.py b/pymisp/tools/__init__.py index 9503adc..0b4a520 100644 --- a/pymisp/tools/__init__.py +++ b/pymisp/tools/__init__.py @@ -21,6 +21,9 @@ try: except ImportError: # Requires faup, which is a bit difficult to install pass +except OSError: + # faup requires liblua-5.3 + pass try: from .peobject import PEObject, PESectionObject # noqa