fix linter warnings
This commit is contained in:
parent
03437a3a40
commit
4e15cc1b74
10 changed files with 12 additions and 12 deletions
|
@ -379,7 +379,7 @@ class Router:
|
|||
pois=self.pois, point=location, restrictions=restrictions
|
||||
)
|
||||
nearby = tuple(sorted(
|
||||
tuple(l for l in nearby_areas+nearby_pois if l[0].can_search),
|
||||
tuple(location for location in nearby_areas+nearby_pois if location[0].can_search),
|
||||
key=operator.itemgetter(1)
|
||||
))
|
||||
# show all location within 5 meters, but at least 20
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue