Notice to user if no location is set.

This commit is contained in:
Nick Foster
2012-06-13 20:18:09 -07:00
parent 29ae7d13ea
commit 53da7eecff

View File

@@ -180,6 +180,8 @@ def range_bearing(loc_a, loc_b):
class cpr_decoder:
def __init__(self, my_location):
self.my_location = my_location
if my_location is None:
print "Notice: Set your coordinates with --location to get faster position reports."
self.lkplist = {}
self.evenlist = {}
self.oddlist = {}