fix: incorrect syntax

pull/898/head
Raphaël Vinot 2024-03-14 11:09:35 +01:00
parent 2da3ff30fa
commit 6aefb201e9
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ class VirusTotal(AbstractModule):
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))