Tiny optimization: stop Click looking for localization files

This commit is contained in:
Oleh Prypin
2023-04-30 14:44:44 +02:00
parent ea1c6c468d
commit 636b08971d

View File

@@ -22,6 +22,9 @@ if sys.platform.startswith("win"):
else:
colorama.init()
# Hack: stop Click trying to find localization files for help messages.
os.environ['LANGUAGE'] = 'C'
log = logging.getLogger(__name__)