File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
modules/yup_python/scripting Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ std::unique_ptr<PyConfig> ScriptEngine::prepareScriptingHome (
112112 PyPreConfig_InitIsolatedConfig (&preconfig);
113113 preconfig.utf8_mode = 1 ;
114114
115- if (PyStatus status = Py_PreInitialize (&preconfig); PyStatus_IsError (status))
115+ if (PyStatus status = Py_PreInitialize (&preconfig); PyStatus_IsError (status))
116116 {
117117 YUP_DBG (" Failed Py_PreInitialize" );
118118 return nullptr ;
@@ -141,7 +141,7 @@ std::unique_ptr<PyConfig> ScriptEngine::prepareScriptingHome (
141141#if YUP_WINDOWS
142142 config->module_search_paths_set = 1 ;
143143
144- const auto prefixPath = destinationFolder.getChildFile (" lib" ).getFullPathName ();
144+ const auto prefixPath = destinationFolder.getChildFile (" lib" ).getFullPathName ();
145145
146146 if (auto status = PyConfig_SetBytesString (config.get (), &config->prefix , prefixPath.toRawUTF8 ()); PyStatus_IsError (status))
147147 {
You can’t perform that action at this time.
0 commit comments