mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2025-12-18 05:21:19 +00:00
Update runze_multiple_backbone
This commit is contained in:
@@ -176,12 +176,9 @@ class RunzeMultiplePump:
|
|||||||
return output
|
return output
|
||||||
|
|
||||||
def _receive(self, data: bytes) -> str:
|
def _receive(self, data: bytes) -> str:
|
||||||
"""
|
|
||||||
Do not change this method.
|
|
||||||
"""
|
|
||||||
if not data:
|
if not data:
|
||||||
return ""
|
return ""
|
||||||
ascii_string = "".join(chr(byte) for byte in data)
|
ascii_string = "".join(chr(byte) for byte in data) # *Do not use decode('ascii', errors='ignore')
|
||||||
return ascii_string
|
return ascii_string
|
||||||
|
|
||||||
def _run(self, address: str, command: str) -> str:
|
def _run(self, address: str, command: str) -> str:
|
||||||
|
|||||||
Reference in New Issue
Block a user