From 4857543a090c6c1ad20e935b2d7e88bbf2cbcc01 Mon Sep 17 00:00:00 2001 From: Carl Meyer Date: Sat, 19 May 2018 16:48:22 -0600 Subject: Fix typo in error message when decoding PYTHONPATH. (GH-6981) --- Modules/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/main.c b/Modules/main.c index f6b5104..9cbb3f1 100644 --- a/Modules/main.c +++ b/Modules/main.c @@ -1831,7 +1831,7 @@ config_read_env_vars(_PyCoreConfig *config) wchar_t *path; int res = config_get_env_var_dup(&path, L"PYTHONPATH", "PYTHONPATH"); if (res < 0) { - return DECODE_LOCALE_ERR("PYTHONHOME", res); + return DECODE_LOCALE_ERR("PYTHONPATH", res); } config->module_search_path_env = path; -- cgit v0.12