Skip to content

Commit 6d0638e

Browse files
committed
Switch to a non-deprecated method
1 parent 90a11a5 commit 6d0638e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

seleniumbase/undetected/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def __init__(
198198
try:
199199
import locale
200200

201-
language = locale.getdefaultlocale()[0].replace("_", "-")
201+
language = locale.getlocale()[0].replace("_", "-")
202202
except Exception:
203203
pass
204204
if not language:

0 commit comments

Comments
 (0)