Skip to content

Commit 242094f

Browse files
authored
Merge pull request #45977 from JanChyczynski/SiStrip_O2O_mail_fix
o2oRun_SiStripDCS email warning fix
2 parents 452f428 + 7c0c306 commit 242094f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CondTools/SiStrip/scripts/o2oRun_SiStripDCS.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def summary(args, is_ok, logfile):
5656
debugLabel = '[TEST] ' if args.debug else ''
5757
with open(logfile, 'rb') as log:
5858
helper.send_mail(subject='%sDCS O2O Failure: %s' % (debugLabel, args.jobname),
59-
message=log.read(),
59+
message=str(log.read()),
6060
send_to=args.mail_log_to,
6161
send_from=args.mail_from)
6262

0 commit comments

Comments
 (0)