Skip to content

Commit

Permalink
Tiny optimization: stop Click looking for localization files
Browse files Browse the repository at this point in the history
  • Loading branch information
oprypin committed Apr 30, 2023
1 parent ea1c6c4 commit 636b089
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mkdocs/__main__.py
Expand Up @@ -22,6 +22,9 @@
else:
colorama.init()

# Hack: stop Click trying to find localization files for help messages.
os.environ['LANGUAGE'] = 'C'

log = logging.getLogger(__name__)


Expand Down

0 comments on commit 636b089

Please sign in to comment.