From 129b031c5418afc79eefe0fc3aed34297bb14567 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 22 Jan 2026 16:06:10 -0500 Subject: [PATCH] Fix indentation for mode check in transmit.py --- transmit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/transmit.py b/transmit.py index 69d6e0ac..a4e7979e 100644 --- a/transmit.py +++ b/transmit.py @@ -282,7 +282,7 @@ if __name__ == "__main__": uptime = float(up) print(uptime) extra = 0 - if (mode == 'f') + if (mode == 'f'): extra = 15 if (uptime < (uptime_time + extra)): print("Uptime < threshold seconds") @@ -295,7 +295,7 @@ if __name__ == "__main__": print("Can't open /proc/uptime") print(skip) - if (mode == 'f') + if (mode == 'f'): sleep(10) # wait to avoid restart and truncated cw id try: file = open("/home/pi/CubeSatSim/beacon_off")