From f5623985b1c1bc081d9eb8f9bd9af0e43f79dbfa Mon Sep 17 00:00:00 2001 From: Faiyaz Ahmed Date: Thu, 21 Aug 2008 02:44:54 +0000 Subject: [PATCH] Fixed KeyError in logging --- bwmon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bwmon.py b/bwmon.py index 8f04808..10cdd95 100644 --- a/bwmon.py +++ b/bwmon.py @@ -333,7 +333,7 @@ class Slice: params['new_maxrate'] = bwlimit.format_tc_rate(new_maxexemptrate) message += template % params - logger.log("bwmon: ** %(slice)s %(class)s capped at %(new_maxexemptrate)s/s " % params) + logger.log("bwmon: ** %(slice)s %(class)s capped at %(new_maxrate)s/s " % params) # Notify slice if message and self.emailed == False: -- 2.43.0