added mh to location python call

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

@ -6,6 +6,7 @@ import requests
from os import system
import re
import sys
import maidenhead as mh
latitude = 0
longitude = 0
@ -28,10 +29,11 @@ if (choice == '2'):
if re.search(regex, grid):
print("grid is valid!")
print mh.to_location(grid)
else:
print("grid is not valid!")
grid = ""
elif (choice == '3'):
lat = input("\nType your latitude: ")

Loading…
Cancel
Save

Powered by TurnKey Linux.