There was an error while loading. Please reload this page.
1 parent 654038d commit 4857543Copy full SHA for 4857543
1 file changed
Modules/main.c
@@ -1831,7 +1831,7 @@ config_read_env_vars(_PyCoreConfig *config)
1831
wchar_t *path;
1832
int res = config_get_env_var_dup(&path, L"PYTHONPATH", "PYTHONPATH");
1833
if (res < 0) {
1834
- return DECODE_LOCALE_ERR("PYTHONHOME", res);
+ return DECODE_LOCALE_ERR("PYTHONPATH", res);
1835
}
1836
config->module_search_path_env = path;
1837
0 commit comments