added for loop to alt

pull/131/head
alanbjohnston 4 years ago committed by GitHub
parent cb6bec4deb
commit d28b5c7c4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -123,6 +123,7 @@ if ((latitude != 0) and (longitude != 0) or grid):
return_value = 1
for i in list(range(3)):
alt = input("\nType your altitude in integer meters: ")
try:
altitude = int(alt)
@ -132,7 +133,7 @@ if ((latitude != 0) and (longitude != 0) or grid):
system(altSedStr)
print("\nFoxTelem configuration updated with your alitude")
break
except ValueError:
print("Not an integer!")

Loading…
Cancel
Save

Powered by TurnKey Linux.