Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
iarspider authored Nov 9, 2021
1 parent 55bc559 commit 7f2bbb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CondTools/SiStrip/scripts/SiStripDAQPopCon.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def runjob(args):
pipe = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
atexit.register(partial(helper.kill_subproc_noexcept, pipe))
out = pipe.communicate()[0]
if isinstance(out, byte):
if isinstance(out, bytes):
out = out.decode("utf8", "replace")
logging.info('\n%s\n' % out)
logging.info('@@@CMSSW job return code = %d@@@' % pipe.returncode)
Expand Down

0 comments on commit 7f2bbb3

Please sign in to comment.