BlueBindy / schengen_calculator

Schengen availability calculator for PP3
0 stars 1 forks source link

BUG: can calculate duration of 1 trip, but can't accept input for 2 trips #2

Open BlueBindy opened 1 year ago

BlueBindy commented 1 year ago

File "run.py", line 128, in ask_another_trip calculate_trips(trip_list) TypeError: calculate_trips() takes 0 positional arguments but 1 was given

but argument is passed because needed to calculate days. So presumably need to re-order and rescope functions, possibly splitting calc and second trip into different functions