diff --git a/tradecalc.py b/tradecalc.py index bd907983..c5723e40 100644 --- a/tradecalc.py +++ b/tradecalc.py @@ -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: