chg, function available in v3.6 Travis has v3.5...

This commit is contained in:
iceman1001 2020-05-26 17:35:27 +02:00
parent 646a4cc4a6
commit 176f0dfe75

View file

@ -316,10 +316,7 @@ static int CmdScriptRun(const char *Cmd) {
//PyImport_ImportModule("requests");
PyRun_SimpleFileExFlags(f, preferredName, 1, NULL);
if (Py_FinalizeEx() < 0) {
free(script_path);
return PM3_ESOFT;
}
Py_Finalize();
PyMem_RawFree(program);
free(script_path);