fix error in route initialization
This commit is contained in:
parent
353d00cbf2
commit
f260b52a6e
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ class Route:
|
||||||
if self.origin_addition and any(self.origin_addition):
|
if self.origin_addition and any(self.origin_addition):
|
||||||
nodes.insert(0, (self.origin_addition[0], None))
|
nodes.insert(0, (self.origin_addition[0], None))
|
||||||
nodes[1][1] = self.origin_addition[1]
|
nodes[1][1] = self.origin_addition[1]
|
||||||
if self.destination_addition and any(self.origin_addition):
|
if self.destination_addition and any(self.destination_addition):
|
||||||
nodes.append(self.destination_addition)
|
nodes.append(self.destination_addition)
|
||||||
|
|
||||||
items = deque()
|
items = deque()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue