fix error in log message

This commit is contained in:
2020-11-11 23:52:17 +01:00
parent 782e744f08
commit 6117ff372d

View File

@@ -343,7 +343,7 @@ class QuarantineMilter(Milter.Base):
if quarantine.host_in_whitelist(hostaddr): if quarantine.host_in_whitelist(hostaddr):
self.logger.debug( self.logger.debug(
f"host {hostaddr[0]} is in whitelist of " f"host {hostaddr[0]} is in whitelist of "
f"quarantine {quarantine['name']}") f"quarantine {quarantine.name}")
self.quarantines.remove(quarantine) self.quarantines.remove(quarantine)
if not self.quarantines: if not self.quarantines:
self.logger.debug( self.logger.debug(