From 7c0c30648cce502aa78cdfcef96383f2de01263c Mon Sep 17 00:00:00 2001 From: Jan Chyczynski Date: Wed, 11 Sep 2024 15:00:29 +0200 Subject: [PATCH] o2oRun_SiStripDCS email warning fix --- CondTools/SiStrip/scripts/o2oRun_SiStripDCS.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CondTools/SiStrip/scripts/o2oRun_SiStripDCS.py b/CondTools/SiStrip/scripts/o2oRun_SiStripDCS.py index a3a97bf19af89..f3abb04b36e62 100755 --- a/CondTools/SiStrip/scripts/o2oRun_SiStripDCS.py +++ b/CondTools/SiStrip/scripts/o2oRun_SiStripDCS.py @@ -56,7 +56,7 @@ def summary(args, is_ok, logfile): debugLabel = '[TEST] ' if args.debug else '' with open(logfile, 'rb') as log: helper.send_mail(subject='%sDCS O2O Failure: %s' % (debugLabel, args.jobname), - message=log.read(), + message=str(log.read()), send_to=args.mail_log_to, send_from=args.mail_from)