diff --git a/app/rollerverbrauch/__init__.py b/app/rollerverbrauch/__init__.py index a815566..6738202 100644 --- a/app/rollerverbrauch/__init__.py +++ b/app/rollerverbrauch/__init__.py @@ -184,7 +184,7 @@ def create_pit_stop_form(vid): if len(vehicle.pitstops) > 0: last_pitstop = vehicle.pitstops[-1] else: - last_pitstop = Pitstop(0, 0, date(1970, 1, 1)) + last_pitstop = Pitstop(0, 0, date(1970, 1, 1), 0) form = CreatePitstopForm() form.set_pitstop(last_pitstop)