fix
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
LogMon - Modularny demon do monitorowania logów i blokowania IP
|
||||
Autor: System Administrator
|
||||
Autor: Mateusz Gruszczyński
|
||||
Wersja: 1.0
|
||||
"""
|
||||
|
||||
@@ -114,8 +114,8 @@ class LogMonDaemon:
|
||||
self.logger.info("Loaded Postfix module")
|
||||
except Exception as e:
|
||||
self.logger.error(f"Error loading Postfix module: {e}")
|
||||
# Dovecot module
|
||||
if self.config.getboolean('module_dovecot', 'enabled', fallback=False):
|
||||
# Dovecot module
|
||||
if self.config.getboolean('module_dovecot', 'enabled', fallback=False):
|
||||
try:
|
||||
module = DovecotModule(self.config, self)
|
||||
modules.append(module)
|
||||
|
||||
Reference in New Issue
Block a user