Sat interface now pulls from the right file

This commit is contained in:
Laika 2021-07-03 15:03:41 -04:00
parent c575625013
commit 7935441d91

View file

@ -44,7 +44,7 @@ def shell(reader, writer):
writer.write("BAD OP COMMAND\r\n")
yield from writer.drain()
elif com[:3].upper() == "MTE" and len(com) == 3:
with open("../satsim/command_q", "r") as statfile:
with open("../satsim/status", "r") as statfile:
mte = statfile.read()
writer.write(mte + "\r\n")
yield from writer.drain()