From 4bf07716dab751865cd55d5859b05312fc264932 Mon Sep 17 00:00:00 2001 From: Mark Starling Date: Tue, 9 Feb 2021 17:25:35 +0000 Subject: [PATCH] Fixed issue #74 (string replace is no longer required) Replacing spaces with '+' is no longer required. --- pyracing/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyracing/client.py b/pyracing/client.py index 10e5673..a2234cc 100644 --- a/pyracing/client.py +++ b/pyracing/client.py @@ -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,