Skip to content

Commit

Permalink
pylint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
YiChiCanCode committed Aug 23, 2024
1 parent 9b7e25b commit 5629c34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ def close(self, analyzer_names=None):

data = (
{"index_name": self._index, "analyzer_names": analyzer_names}
if analyzer_names != None
if analyzer_names is not None
else {"index_name": self._index}
)
_ = self._sketch.api.session.post(pipe_resource, json=data)
Expand Down
3 changes: 2 additions & 1 deletion importer_client/python/tools/timesketch_importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,8 @@ def main(args=None):
default=[],
help=(
"Set of analyzers that we will automatically run right after the "
"timelines are uploaded. The input needs to be the analyzers names, provided as a comma-separated string."
"timelines are uploaded. The input needs to be the analyzers names."
"Provided as a comma-separated string."
),
)

Expand Down

0 comments on commit 5629c34

Please sign in to comment.