2018-11-04 15:29:28 +00:00
|
|
|
diff --git a/click/_unicodefun.py b/click/_unicodefun.py
|
|
|
|
index 620edff..85a3c98 100644
|
|
|
|
--- a/click/_unicodefun.py
|
|
|
|
+++ b/click/_unicodefun.py
|
|
|
|
@@ -63,7 +63,7 @@ def _verify_python3_env():
|
2018-06-11 15:45:25 +01:00
|
|
|
if os.name == 'posix':
|
|
|
|
import subprocess
|
2018-11-04 15:29:28 +00:00
|
|
|
try:
|
|
|
|
- rv = subprocess.Popen(['locale', '-a'], stdout=subprocess.PIPE,
|
|
|
|
+ rv = subprocess.Popen(['@locale@', '-a'], stdout=subprocess.PIPE,
|
|
|
|
stderr=subprocess.PIPE).communicate()[0]
|
|
|
|
except OSError:
|
|
|
|
rv = b''
|