From db6c0828fecd9a25feea3d2600c4aea7dbfffac9 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sat, 3 Jul 2021 20:22:42 -0400 Subject: [PATCH] updated lat and long variables --- groundstation/loc-add-foxtelem.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/groundstation/loc-add-foxtelem.py b/groundstation/loc-add-foxtelem.py index 3202ce3c..4edf0510 100644 --- a/groundstation/loc-add-foxtelem.py +++ b/groundstation/loc-add-foxtelem.py @@ -33,14 +33,14 @@ elif (choice == '3'): lat = input("\nType your latitude: ") try: - float(lat) - print("Valid number!") + latitude = float(lat) + print(latitude) except ValueError: print("Not a number!") long = input("\nType your longitude: ") try: - float(long) - print("Valid number!") + longitude = float(long) + print(longitude) except ValueError: print("Not a number!")