summaryrefslogtreecommitdiffstats
path: root/check_bogofilter.py
diff options
context:
space:
mode:
Diffstat (limited to 'check_bogofilter.py')
-rwxr-xr-xcheck_bogofilter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/check_bogofilter.py b/check_bogofilter.py
index f75c696..cd0fb72 100755
--- a/check_bogofilter.py
+++ b/check_bogofilter.py
@@ -11,7 +11,7 @@ logging.basicConfig(format='%(levelname)s:%(funcName)s:%(message)s',
level=logging.INFO)
log = logging.getLogger('check_bogofilter')
-if log.getEffectiveLevel() == logging.DEBUG:
+if log.getEffectiveLevel() >= logging.DEBUG:
imaplib.Debug = 4
pattern_uid = re.compile('\d+ \(UID (?P<uid>\d+)\)')