Commit 9773b941 authored by Jens Kroeger's avatar Jens Kroeger
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent d8de20ab
...@@ -265,7 +265,7 @@ def runCorryvreckan(filenamebase, jobtask, silent): ...@@ -265,7 +265,7 @@ def runCorryvreckan(filenamebase, jobtask, silent):
try: try:
line = qout.get_nowait() # or q.get(timeout=.1) line = qout.get_nowait() # or q.get(timeout=.1)
if not silent: if not silent:
if 'WARNING'.encode() in line.strip(): if b'WARNING' in line.strip():
log.warning(line.strip()) log.warning(line.strip())
elif b'ERROR' in line.strip(): elif b'ERROR' in line.strip():
log.error(line.strip()) log.error(line.strip())
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment