INNER CODE UNIT · Python
chunk
TianGzlab/OmicsClaw · omicsclaw/surfaces/desktop/server.py:273
chunk = os.read(fd, 66 - len(payload))
if not chunk:
break
payload.extend(chunk)
if len(payload) > 65:
raise RuntimeError("invalid Skill Evolution credential payload")
outcome = (bytes(payload), None)
except Exception as exc:
outcome = (None, exc)
finally:
try:
os.close(fd)
except OSError:
pass
outcomes.put_nowait(outcome)
reader = threading.Thread(
target=_consume,