Skip to content

Commit

Permalink
Fix missing last via step in nav routes
Browse files Browse the repository at this point in the history
  • Loading branch information
kfsone committed Sep 22, 2014
1 parent 09d9fb2 commit 52059c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trade.py
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ def present(action, system):
lastHop = system

present('Depart', srcSystem)
for viaSys in route[1:-2]:
for viaSys in route[1:-1]:
present('Via', viaSys)
present('Arrive', dstSystem)

Expand Down

0 comments on commit 52059c3

Please sign in to comment.