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)