Update aprs_in.py remove try/except

beta-dw-tx
Alan Johnston 2 years ago committed by GitHub
parent 541cd2a8d1
commit 7f73b5d096
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -8,7 +8,7 @@ if __name__ == "__main__":
# print("There are arguments!")
if ('d' == sys.argv[1]):
debug_mode = 1
try:
for line in sys.stdin:
if (debug_mode):
print(line)
@ -40,5 +40,4 @@ if __name__ == "__main__":
print("/home/pi/CubeSatSim/config -" + mode)
system("/home/pi/CubeSatSim/config -" + mode)
change_mode = False
except:
print("Done")

Loading…
Cancel
Save

Powered by TurnKey Linux.