Skip to content

Commit

Permalink
2.4.0.2: Fixed search
Browse files Browse the repository at this point in the history
  • Loading branch information
psrok1 committed Apr 16, 2019
1 parent 5a29096 commit 8f5f28d
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.1",
version="2.4.0.2",
description="malwaredb API bindings for Python",
author="psrok1",
package_dir={'mwdblib': 'src'},
Expand Down
2 changes: 1 addition & 1 deletion src/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def _recent(self, endpoint, query=None):
params = {"page": page}
if query is not None:
params["query"] = query
result = self.api.get(endpoint, params={"page": page})
result = self.api.get(endpoint, params=params)
key = endpoint+"s"
if key not in result or len(result[key]) == 0:
return
Expand Down

0 comments on commit 8f5f28d

Please sign in to comment.