diff --git a/reborn.py b/reborn.py index 6013a34..aeedf60 100755 --- a/reborn.py +++ b/reborn.py @@ -322,6 +322,9 @@ def route(roadmap): 'routeTime': routeTime, 'pack': pack }) + if not roadmap['stops']: # If it is the first stop, don't provide any alternative + break + if options: # Choose the best option (i.e. the max efficiency)