Skip to content

Commit

Permalink
Merge pull request #118 from hubblestack/mew1033-patch-1
Browse files Browse the repository at this point in the history
Update nebula_osquery.py
  • Loading branch information
basepi authored Sep 28, 2017
2 parents d525636 + 575472f commit da232f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _modules/nebula_osquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def queries(query_group,
for query_name, query_ret in r.iteritems():
for result in query_ret['data']:
for key, value in result.iteritems():
if value and isinstance(value, str) and value.startswith('__JSONIFY__'):
if value and isinstance(value, basestring) and value.startswith('__JSONIFY__'):
result[key] = json.loads(value[len('__JSONIFY__'):])

return ret
Expand Down

0 comments on commit da232f7

Please sign in to comment.