aboutsummaryrefslogtreecommitdiff
path: root/jobs/JobBase.py
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/JobBase.py')
-rwxr-xr-xjobs/JobBase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jobs/JobBase.py b/jobs/JobBase.py
index cdb835d..a7f02c9 100755
--- a/jobs/JobBase.py
+++ b/jobs/JobBase.py
@@ -41,7 +41,7 @@ def sendEmail(config, subject, body, to=""):
# Prepare actual message
# Avoid gmail threading
subject = "[" + config.get('general', 'servername') + "] " + subject + " "
- if config.get('email', 'bustgmailthreading'):
+ if config.getboolean('email', 'bustgmailthreading'):
subject += str(random.random())
message = """\From: %s\nTo: %s\nSubject: %s\n\n%s""" \
% (FROM, ", ".join(to), subject, body)