Skip to content

Commit 96a755a

Browse files
committed
[py] Remove f-string
1 parent 067858d commit 96a755a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/selenium/webdriver/remote/remote_connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ def _request(self, method, url, body=None):
440440
if statuscode == 401:
441441
return {"status": statuscode, "value": "Authorization Required"}
442442
if statuscode >= 400:
443-
return {"status": statuscode, "value": f"{response.reason}" if not data else data.strip()}
443+
return {"status": statuscode, "value": response.reason if not data else data.strip()}
444444
content_type = []
445445
if response.headers.get("Content-Type", None):
446446
content_type = response.headers.get("Content-Type", None).split(";")

0 commit comments

Comments
 (0)