Skip to content

Commit

Permalink
Fixed issue Esterni#74 (string replace is no longer required)
Browse files Browse the repository at this point in the history
Replacing spaces with '+' is no longer required.
  • Loading branch information
markstar committed Feb 9, 2021
1 parent a8c5cbc commit 4bf0771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyracing/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ async def driver_stats(
the main /DriverLookup page on iRacing.
"""
payload = {
'search': str(search).replace(' ', '+'),
'search': search,
'friend': friend,
'watched': watched,
'recent': recent,
Expand Down

0 comments on commit 4bf0771

Please sign in to comment.