diff --git a/Modules/getpath.c b/Modules/getpath.c index bfb33316d969b9..ba8d74b4a04272 100644 --- a/Modules/getpath.c +++ b/Modules/getpath.c @@ -909,7 +909,7 @@ calculate_init(PyCalculatePath *calculate, return DECODE_LOCALE_ERR("PREFIX define", len); } calculate->exec_prefix = Py_DecodeLocale(EXEC_PREFIX, &len); - if (!calculate->prefix) { + if (!calculate->exec_prefix) { return DECODE_LOCALE_ERR("EXEC_PREFIX define", len); } calculate->lib_python = Py_DecodeLocale("lib/python" VERSION, &len);
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: