Skip to content

Commit

Permalink
The value attribute of gap-drivers is assumed iterable
Browse files Browse the repository at this point in the history
Previous implementation sets it to None when sessions are loaded
  • Loading branch information
Casper-Guo committed Aug 21, 2024
1 parent 5b97958 commit 173da04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def get_session_laps(
def set_driver_dropdowns(session_info: Session_info):
"""Configure driver dropdowns."""
drivers = session_info[2]
return drivers, drivers, False, drivers, None, False
return drivers, drivers, False, drivers, [], False


@callback(
Expand Down

0 comments on commit 173da04

Please sign in to comment.