added mh to lat/lon call

pull/131/head
alanbjohnston 4 years ago committed by GitHub
parent 761760995a
commit 662e8c9bdf
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
@ -35,6 +36,7 @@ if (choice == '2'):
if re.search(regex, grid):
print("grid is valid!")
print mh.to_location(grid)
break
else:
print("grid is not valid!")

Loading…
Cancel
Save

Powered by TurnKey Linux.