diff --git a/minimap.py b/minimap.py index 571c4b4..fae6a87 100644 --- a/minimap.py +++ b/minimap.py @@ -75,6 +75,7 @@ def update_location(): print('post.php', r.text) import math +R = 6371.0 def haver_dist(coord1, coord2): lati1 = math.radians(coord1[0])