Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jleaniz committed Jul 18, 2024
1 parent 187c30a commit 9e427d2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,3 @@ dftimewolf/user_config.py
.DS_Store

*.code-workspace

.devcontainer

.github/dependabot.yml
7 changes: 0 additions & 7 deletions dftimewolf/lib/processors/turbinia_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,13 +392,6 @@ def TurbiniaSetUp(
self.turbinia_auth = turbinia_auth
# turbinia_auth is a boolean in the recipe but gets passed as a string
# to the module, so we check for the correct type here.
try:
if isinstance(turbinia_auth, str):
turbinia_auth_json = json.loads(turbinia_auth.lower())
self.turbinia_auth = bool(turbinia_auth_json)
except json.JSONDecodeError as exception:
error_message = f'Error parsing turbinbia_auth flag: {str(exception)}'
self.ModuleError(error_message, critical=True)
self.turbinia_api = turbinia_api
self.turbinia_recipe = turbinia_recipe
self.turbinia_zone = turbinia_zone
Expand Down

0 comments on commit 9e427d2

Please sign in to comment.