mirror of
https://github.com/unode/firefox_decrypt.git
synced 2025-12-16 12:01:52 +01:00
MNT Use a different function for obtaining locale information
This commit is contained in:
@@ -1010,7 +1010,7 @@ def setup_logging(args) -> None:
|
||||
|
||||
|
||||
def identify_system_locale() -> str:
|
||||
encoding: Optional[str] = locale.getlocale()[1]
|
||||
encoding: Optional[str] = locale.getpreferredencoding()
|
||||
|
||||
if encoding is None:
|
||||
LOG.error(
|
||||
|
||||
Reference in New Issue
Block a user