mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-01-02 14:50:25 +01:00
fix skipLinesUntil() in non text mode
This commit is contained in:
parent
8a948597d4
commit
23aa2c7680
|
|
@ -107,6 +107,8 @@ class ProcessManager:
|
|||
@param matchText: string to search for in output
|
||||
"""
|
||||
logging.debug("skip lines till %s from output", matchText)
|
||||
if not self._textMode:
|
||||
matchText = bytes(matchText, "utf-8")
|
||||
while matchText not in self.readline():
|
||||
pass
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue