Skip to content

Commit 328cfde

Browse files
bpo-37649: Fix exec_prefix check (GH-14897)
(cherry picked from commit 09090d0) Co-authored-by: Orivej Desh <orivej@gmx.fr>
1 parent 15d263e commit 328cfde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/getpath.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ calculate_init(PyCalculatePath *calculate,
909909
return DECODE_LOCALE_ERR("PREFIX define", len);
910910
}
911911
calculate->exec_prefix = Py_DecodeLocale(EXEC_PREFIX, &len);
912-
if (!calculate->prefix) {
912+
if (!calculate->exec_prefix) {
913913
return DECODE_LOCALE_ERR("EXEC_PREFIX define", len);
914914
}
915915
calculate->lib_python = Py_DecodeLocale("lib/python" VERSION, &len);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

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:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy