Skip to content

Commit

Permalink
fix: incorrect syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Mar 14, 2024
1 parent 2da3ff3 commit 6aefb20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lookyloo/modules/vt.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def module_init(self) -> bool:
self.logger.info('Not enabled')
return False

self.client = vt.Client(self.config['apikey'], trustenv=bool(self.config['trustenv'], False))
self.client = vt.Client(self.config['apikey'], trustenv=self.config.get('trustenv', False))

self.allow_auto_trigger = bool(self.config.get('allow_auto_trigger', False))
self.autosubmit = bool(self.config.get('autosubmit', False))
Expand Down

0 comments on commit 6aefb20

Please sign in to comment.