mirror of https://github.com/CIRCL/lookyloo
fix: incorrect syntax
parent
2da3ff30fa
commit
6aefb201e9
lookyloo/modules
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue