Skip to content

Commit

Permalink
review changes pt1
Browse files Browse the repository at this point in the history
  • Loading branch information
jkppr committed Sep 11, 2024
1 parent 684cd92 commit 2b396bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion timesketch/api/v1/resources/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def get(self, sketch_id):
* display_name: Display name of the analyzer for the UI
* description: Description of the analyzer provided in the class
* is_multi: Boolean indicating if the analyzer is a multi analyzer
* is_dfiq: Boolean indicating if the analyzer is a dfiq analyzer
* is_dfiq: Boolean indicating if the analyzer is a DFIQ analyzer
"""
sketch = Sketch.get_with_acl(sketch_id)
if not sketch:
Expand Down
2 changes: 1 addition & 1 deletion timesketch/lib/analyzers/dfiq_plugins/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def load_dfiq_analyzers():
# Dynamically load DFIQ Analyzers
for filename in os.listdir(DFIQ_ANALYZER_PATH):
if filename.endswith(".py") and not filename.startswith("__"):
module_name = filename[:-3] # Remove .py extension
module_name = os.path.splitext(filename)[0] # Remove .py extension
if module_name == "manager":
continue
module_path = f"timesketch.lib.analyzers.dfiq_plugins.{module_name}"
Expand Down

0 comments on commit 2b396bd

Please sign in to comment.