mirror of https://github.com/CIRCL/lookyloo
fix: Properly call logger
parent
5897f8024d
commit
7bba854e0a
|
@ -25,7 +25,7 @@ class SaneJavaScript():
|
||||||
self.logger.setLevel(get_config('generic', 'loglevel'))
|
self.logger.setLevel(get_config('generic', 'loglevel'))
|
||||||
if not config.get('enabled'):
|
if not config.get('enabled'):
|
||||||
self.available = False
|
self.available = False
|
||||||
self.logger('Module not enabled.')
|
self.logger.info('Module not enabled.')
|
||||||
return
|
return
|
||||||
self.client = SaneJS()
|
self.client = SaneJS()
|
||||||
if not self.client.is_up:
|
if not self.client.is_up:
|
||||||
|
|
Loading…
Reference in New Issue