diff --git a/setup.py b/setup.py index 40f8240..03a2b6b 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ from distutils.core import setup setup(name="mwdblib", - version="2.4.0", + version="2.4.0.1", description="malwaredb API bindings for Python", author="psrok1", package_dir={'mwdblib': 'src'}, diff --git a/src/object.py b/src/object.py index 8909b55..affc467 100644 --- a/src/object.py +++ b/src/object.py @@ -58,7 +58,7 @@ def _update(self, data): from .config import MalwarecageConfig if "config" not in data: data = dict(data) - if "latest_config" in data: + if "latest_config" in data and data["latest_config"]: data["config"] = MalwarecageConfig(self.api, data["latest_config"]) elif "children" in data: """