Commit 7bc22d0c authored by AlanCoding's avatar AlanCoding

fix bug with bytestring operation

parent 9e57e0be
......@@ -835,7 +835,7 @@ class MonitorableResource(BaseResource):
# In the first moments of running the job, the standard out
# may not be available yet
if not content.startswith(b"Waiting for results"):
if not six.text_type(content).startswith("Waiting for results"):
line_count = len(content.splitlines())
start_line += line_count
click.echo(content, nl=0)
......
Markdown is supported
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