Skip to content

Commit ccebc53

Browse files
authored
Update USAGE.md
1 parent 9606b55 commit ccebc53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

USAGE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ As a *bare minimum*, you can do the following:
4747
NSString *pythonHome = [NSString stringWithFormat:@"%@/python", resourcePath, nil];
4848
NSString *appPath = [NSString stringWithFormat:@"%@/app", resourcePath, nil];
4949

50-
setenv("PYTHONHOME", pythonHome, 1);
51-
setenv("PYTHONPATH", appPath, 1);
50+
setenv("PYTHONHOME", [pythonHome UTF8String], 1);
51+
setenv("PYTHONPATH", [appPath UTF8String], 1);
5252

5353
Py_Initialize();
5454

0 commit comments

Comments
 (0)