Cleanup a few more raw strings

This commit is contained in:
Seth Hillbrand 2022-03-10 11:22:18 -08:00
parent 5881471a52
commit 455e330f3b
1 changed files with 4 additions and 4 deletions

View File

@ -158,7 +158,7 @@ bool SCRIPTING::scriptingSetup()
// Prevent Mac builds from generating JIT versions as this will break
// the package signing
wxSetEnv( "PYTHONDONTWRITEBYTECODE", "1" );
wxSetEnv( wxT( "PYTHONDONTWRITEBYTECODE" ), wxT( "1" ) );
// Add default paths to PYTHONPATH
wxString pypath;
@ -183,7 +183,7 @@ bool SCRIPTING::scriptingSetup()
}
// set $PYTHONPATH
wxSetEnv( "PYTHONPATH", pypath );
wxSetEnv( wxT( "PYTHONPATH" ), pypath );
wxString pyhome;
@ -191,7 +191,7 @@ bool SCRIPTING::scriptingSetup()
wxT( "Contents/Frameworks/Python.framework/Versions/Current" );
// set $PYTHONHOME
wxSetEnv( "PYTHONHOME", pyhome );
wxSetEnv( wxT( "PYTHONHOME" ), pyhome );
#else
wxString pypath;