Skip to content

Commit

Permalink
2.4.0.1: Fixed bug in MalwarecageObject
Browse files Browse the repository at this point in the history
  • Loading branch information
psrok1 committed Apr 16, 2019
1 parent 1e180f6 commit 5a29096
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'},
Expand Down
2 changes: 1 addition & 1 deletion src/object.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
"""
Expand Down

0 comments on commit 5a29096

Please sign in to comment.