Skip to content

Commit

Permalink
Reformat warning string
Browse files Browse the repository at this point in the history
  • Loading branch information
Casper-Guo committed Apr 20, 2024
1 parent 53a1e74 commit 0ae361b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fastf1/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def driver_color(identifier: str) -> str:
if key_ratios[0][0] != 100:
_logger.warning(
("Correcting invalid user input "
f"{identifier} to {key_ratios[0][1]}."
f"'{identifier}' to '{key_ratios[0][1]}'."
)
)
if ((key_ratios[0][0] < 35)
Expand Down Expand Up @@ -373,7 +373,7 @@ def team_color(identifier: str) -> str:
if key_ratios[0][0] != 100:
_logger.warning(
("Correcting invalid user input "
f"{identifier} to {key_ratios[0][1]}."
f"'{identifier}' to '{key_ratios[0][1]}'."
)
)
if ((key_ratios[0][0] < 35)
Expand Down

0 comments on commit 0ae361b

Please sign in to comment.