summaryrefslogtreecommitdiff
path: root/src/click/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/click/core.py')
-rw-r--r--src/click/core.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/click/core.py b/src/click/core.py
index e4061aa..b7124df 100644
--- a/src/click/core.py
+++ b/src/click/core.py
@@ -6,7 +6,7 @@ from contextlib import contextmanager
from functools import update_wrapper
from itertools import repeat
-from ._unicodefun import _verify_python3_env
+from ._unicodefun import _verify_python_env
from .exceptions import Abort
from .exceptions import BadParameter
from .exceptions import ClickException
@@ -787,7 +787,7 @@ class BaseCommand:
"""
# Verify that the environment is configured correctly, or reject
# further execution to avoid a broken script.
- _verify_python3_env()
+ _verify_python_env()
if args is None:
args = sys.argv[1:]