diff --git a/Modules/getpath.py b/Modules/getpath.py index 47f075caf5551b..f05ab3c2ed7555 100644 --- a/Modules/getpath.py +++ b/Modules/getpath.py @@ -738,7 +738,7 @@ def search_up(prefix, *landmarks, test=isfile): # ****************************************************************************** config['program_name'] = program_name -config['home'] = home +config['home'] = home if home_was_set else None config['executable'] = executable config['base_executable'] = base_executable config['prefix'] = prefix