Skip to content

Commit

Permalink
Fix for --via
Browse files Browse the repository at this point in the history
  • Loading branch information
kfsone committed Jan 11, 2015
1 parent 8a627d0 commit 68e58e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tradecalc.py
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ def getBestHops(self, routes, restrictTo=None):
if isinstance(place, Station):
restrictStations.add(place)
elif isinstance(place, System) and place.stations:
restrictStations += place.stations
restrictStations.update(place.stations)
restrictStations = set(restrictStations)

for route in routes:
Expand Down

0 comments on commit 68e58e9

Please sign in to comment.