mirror of
https://github.com/docker/compose.git
synced 2026-07-10 02:11:34 +00:00
Fixed error when using startswith on non-ascii string
Signed-off-by: Sebastien Mamessier <smamessier@uber.com>
This commit is contained in:
parent
4be2fa010a
commit
a3a23bf949
1 changed files with 1 additions and 1 deletions
|
|
@ -1806,7 +1806,7 @@ class _CLIBuilder(object):
|
|||
line = p.stdout.readline()
|
||||
if not line:
|
||||
break
|
||||
if line.startswith(magic_word):
|
||||
if line.startswith(str(magic_word)):
|
||||
appear = True
|
||||
yield json.dumps({"stream": line})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue