From 82abf4c801b1e5761a50302817b6788544c3e046 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Sat, 12 Oct 2019 16:48:44 +0200 Subject: [PATCH] fix: Remove overwrite of remote_describe_types --- pymisp/api.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pymisp/api.py b/pymisp/api.py index a5c0670..77f0cb6 100644 --- a/pymisp/api.py +++ b/pymisp/api.py @@ -144,7 +144,6 @@ class PyMISP(MISPFileCache): # pragma: no cover if remote_describe_types.get('error'): for e in remote_describe_types.get('error'): raise PyMISPError('Failed: {}'.format(e)) - remote_describe_types = describe_types if not remote_describe_types.get('sane_defaults'): raise PyMISPError('The MISP server your are trying to reach is outdated (<2.4.52). Please use PyMISP v2.4.51.1 (pip install -I PyMISP==v2.4.51.1) and/or contact your administrator.') return remote_describe_types