From eff56815dad80ed050fbd4f45996dbf7485f972b Mon Sep 17 00:00:00 2001 From: Brian Read Date: Sun, 12 Jan 2025 07:30:45 +0000 Subject: [PATCH] Minor change to format for port count label format --- root/usr/bin/mailstats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/usr/bin/mailstats.py b/root/usr/bin/mailstats.py index c2b0654..0d1adc7 100644 --- a/root/usr/bin/mailstats.py +++ b/root/usr/bin/mailstats.py @@ -953,7 +953,7 @@ def get_heading(): if len(total_ports)>0: for port_number in total_ports.keys(): - smtp_stats += f"\nCount of port:{port_number} connections: {total_ports[port_number]}" + smtp_stats += f"\nCount of port {port_number} connections: {total_ports[port_number]}" smtp_stats = smtp_stats + f"\nEmails per hour: {emailperhour:.1f}/hr\n"\ f"Average spam score (accepted): {spamavg or 0:.2f}\n"\