Browse Source

hide print

main
gsd 8 months ago
parent
commit
1849496664
  1. 4
      pipboyIO/next/serialAX.py

4
pipboyIO/next/serialAX.py

@ -140,7 +140,7 @@ class Listener(asyncio.Protocol):
if self.transport and not self.transport.is_closing():
msg = f"{DISPLAY_ID} {cpu_percent} 0\n"
print(msg)
#print(msg)
self.transport.write(msg.encode())
await asyncio.sleep(1)
@ -156,7 +156,7 @@ class Listener(asyncio.Protocol):
if self.transport and not self.transport.is_closing():
msg = f"{DISPLAY_ID} {mem_percent} 0\n"
print(msg)
#print(msg)
self.transport.write(msg.encode())
await asyncio.sleep(1)

Loading…
Cancel
Save