Skip to content

Commit a77fa66

Browse files
committed
[py] Fix formatting
1 parent e2f3b7d commit a77fa66

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

py/selenium/webdriver/remote/errorhandler.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18+
import json
1819
from typing import Any
1920

2021
from selenium.common.exceptions import (
@@ -162,8 +163,6 @@ def check_response(self, response: dict[str, Any]) -> None:
162163
value_json = response.get("value", None)
163164
if value_json and isinstance(value_json, str):
164165
if not value_json.isdigit():
165-
import json
166-
167166
try:
168167
value = json.loads(value_json)
169168
if len(value) == 1:

0 commit comments

Comments
 (0)