Report more correct node as hole spot
This commit is contained in:
parent
672cdcf9f4
commit
27cb1dd04e
1 changed files with 1 additions and 1 deletions
|
@ -554,7 +554,7 @@ class Route:
|
|||
# Store the track if it is long and clean it
|
||||
if not warned_about_holes:
|
||||
city.warn('Hole in route rails near node {}'.format(
|
||||
new_segment[0]), relation)
|
||||
track[-1]), relation)
|
||||
warned_about_holes = True
|
||||
if len(track) > len(last_track):
|
||||
last_track = track
|
||||
|
|
Loading…
Add table
Reference in a new issue