We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39f5e89 commit 4050d08Copy full SHA for 4050d08
not1mm/bandmap.py
@@ -852,6 +852,9 @@ def receive(self) -> None:
852
except UnicodeDecodeError:
853
continue
854
855
+ if os.environ.get("SEND_CLUSTER", False) is not False:
856
+ print(f"{data}")
857
+
858
if "login:" in data or "call:" in data or "callsign:" in data:
859
self.send_command(self.callsignField.text())
860
return
@@ -920,6 +923,8 @@ def disconnected(self) -> None:
920
923
def send_command(self, cmd: str) -> None:
921
924
"""Send a command to the cluster."""
922
925
cmd += "\r\n"
926
927
+ print(f"{cmd}")
928
tosend = bytes(cmd, encoding="ascii")
929
logger.debug("Command sent to the cluster")
930
if self.socket:
0 commit comments