diff --git a/Lib/site.py b/Lib/site.py index d693bc8eb1a..7dc1b041c19 100644 --- a/Lib/site.py +++ b/Lib/site.py @@ -343,8 +343,8 @@ def getsitepackages(prefixes=None): # for framework builds *only* we add the standard Apple locations. if sys.platform == "darwin" and sys._framework: sitepackages.append( - os.path.join("/Library", framework, - '%d.%d' % sys.version_info[:2], "site-packages")) + os.path.join("/Library", sys._framework, + '%d.%d' % sys.version_info[:2], "site-packages")) return sitepackages def addsitepackages(known_paths, prefixes=None):