Fix typo in error message when decoding PYTHONPATH. (GH-6981)

This commit is contained in:
Carl Meyer 2018-05-19 16:48:22 -06:00 committed by Ned Deily
parent 654038d896
commit 4857543a09
1 changed files with 1 additions and 1 deletions

View File

@ -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;