fix a bug with testbench where toolbox finds braiins but bench does not

This commit is contained in:
UpstreamData
2022-06-01 11:28:09 -06:00
parent b1ec726d18
commit a5195ff1db

View File

@@ -229,6 +229,10 @@ class TestbenchMiner:
if "ERROR:Auth" in stdout_data:
error = "AUTH"
proc.kill()
if "INFO:Remote target is already running Braiins OS" in stdout_data:
proc.kill()
self.state = UPDATE
return
await self.add_to_output(stdout_data)
if stdout == b"":
break