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