fix: Properly call logger

pull/135/head
Raphaël Vinot 2020-12-04 01:33:58 +01:00
parent 5897f8024d
commit 7bba854e0a
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class SaneJavaScript():
self.logger.setLevel(get_config('generic', 'loglevel'))
if not config.get('enabled'):
self.available = False
self.logger('Module not enabled.')
self.logger.info('Module not enabled.')
return
self.client = SaneJS()
if not self.client.is_up: