You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (auto status = PyConfig_SetBytesString (config.get(), &config->program_name, applicationFile.getFullPathName().toRawUTF8()); PyStatus_Exception (status))
134
+
if (auto status = PyConfig_Read (config.get()); PyStatus_Exception (status))
138
135
{
139
-
YUP_DBG ("Failed config->program_name");
136
+
YUP_DBG ("Failed PyConfig_Read");
140
137
returnnullptr;
141
138
}
142
139
143
-
if (auto status = PyConfig_SetBytesString (config.get(), &config->home, destinationFolder.getFullPathName().toRawUTF8()); PyStatus_Exception (status))
140
+
if (auto status = PyConfig_SetBytesString (config.get(), &config->program_name, applicationFile.getFullPathName().toRawUTF8()); PyStatus_Exception (status))
144
141
{
145
-
YUP_DBG ("Failed config->home");
142
+
YUP_DBG ("Failed config->program_name");
146
143
returnnullptr;
147
144
}
148
145
149
-
if (auto status = PyConfig_Read (config.get()); PyStatus_Exception (status))
146
+
if (auto status = PyConfig_SetBytesString (config.get(), &config->home, destinationFolder.getFullPathName().toRawUTF8()); PyStatus_Exception (status))
0 commit comments