Skip to content

Commit e16c46c

Browse files
committed
Merge pull request #995 from UV-CDAT/fix_mac_get_prefix
% had to be escaped
2 parents 265324f + 4bc1096 commit e16c46c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMake/cdat_modules_extra/install.py.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ def get_prefix():
268268
if os.uname()[0] == "Darwin":
269269
uv_setup_pth = os.path.join(uv_setup_pth,
270270
"Library","Frameworks","Python.framework","Versions",
271-
"%i.%i" % (sys.version_info.major,sys.version_info.minor)
271+
"%%i.%%i" % (sys.version_info.major,sys.version_info.minor)
272272
)
273273
return uv_setup_pth
274274
except KeyError:

0 commit comments

Comments
 (0)