diff options
author | Adam Turner <9087854+aa-turner@users.noreply.github.com> | 2023-03-07 01:28:10 +0000 |
---|---|---|
committer | Adam Turner <9087854+aa-turner@users.noreply.github.com> | 2023-03-24 01:30:44 +0000 |
commit | c7d7f2951d0c43280f78c84b65df11d207ea6177 (patch) | |
tree | 49a04b6d81abe127c3889da0e4d1bd98df31624e /sphinx/cmd/quickstart.py | |
parent | 7d928b3e7910d9bd5b232548a2d5998331c29b59 (diff) | |
download | sphinx-git-c7d7f2951d0c43280f78c84b65df11d207ea6177.tar.gz |
Remove ``sphinx.locale.setlocale``
Diffstat (limited to 'sphinx/cmd/quickstart.py')
-rw-r--r-- | sphinx/cmd/quickstart.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/cmd/quickstart.py b/sphinx/cmd/quickstart.py index 17ae61208..6122ddd98 100644 --- a/sphinx/cmd/quickstart.py +++ b/sphinx/cmd/quickstart.py @@ -540,8 +540,8 @@ def get_parser() -> argparse.ArgumentParser: def main(argv: list[str] = sys.argv[1:]) -> int: - sphinx.locale.setlocale(locale.LC_ALL, '') - sphinx.locale.init_console(os.path.join(package_dir, 'locale'), 'sphinx') + locale.setlocale(locale.LC_ALL, '') + sphinx.locale.init_console() if not color_terminal(): nocolor() |