From 4488a9a492d23fc909eda8b3dba238e874966eb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Fri, 12 Feb 2021 12:06:07 +0100 Subject: [PATCH] fix: do not fail if MISP is not working --- website/web/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/web/__init__.py b/website/web/__init__.py index c80b0fcc..eda88b18 100644 --- a/website/web/__init__.py +++ b/website/web/__init__.py @@ -480,7 +480,7 @@ def tree(tree_uuid: str, node_uuid: Optional[str]=None): enable_context_by_users=enable_context_by_users, enable_categorization=enable_categorization, enable_bookmark=enable_bookmark, - misp_push=lookyloo.misp.enable_push, + misp_push=lookyloo.misp.available and lookyloo.misp.enable_push, blur_screenshot=blur_screenshot, urlnode_uuid=hostnode_to_highlight, auto_trigger_modules=auto_trigger_modules, has_redirects=True if cache.redirects else False)