mirror of
https://github.com/nikdoof/vapemap.git
synced 2026-01-30 17:48:24 +00:00
Convert the lat/lng to floats for Point.
This commit is contained in:
@@ -18,7 +18,7 @@ class DistanceSearchView(ListView):
|
|||||||
if location:
|
if location:
|
||||||
name, geo = caching_geo_lookup(location)
|
name, geo = caching_geo_lookup(location)
|
||||||
elif lat and lng:
|
elif lat and lng:
|
||||||
geo = (lat, lng)
|
geo = (float(lat), float(lng))
|
||||||
else:
|
else:
|
||||||
geo = None
|
geo = None
|
||||||
self.location_geo = geo
|
self.location_geo = geo
|
||||||
|
|||||||
Reference in New Issue
Block a user