mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
chg, function available in v3.6 Travis has v3.5...
This commit is contained in:
parent
646a4cc4a6
commit
176f0dfe75
1 changed files with 1 additions and 4 deletions
|
@ -316,10 +316,7 @@ static int CmdScriptRun(const char *Cmd) {
|
||||||
//PyImport_ImportModule("requests");
|
//PyImport_ImportModule("requests");
|
||||||
PyRun_SimpleFileExFlags(f, preferredName, 1, NULL);
|
PyRun_SimpleFileExFlags(f, preferredName, 1, NULL);
|
||||||
|
|
||||||
if (Py_FinalizeEx() < 0) {
|
Py_Finalize();
|
||||||
free(script_path);
|
|
||||||
return PM3_ESOFT;
|
|
||||||
}
|
|
||||||
|
|
||||||
PyMem_RawFree(program);
|
PyMem_RawFree(program);
|
||||||
free(script_path);
|
free(script_path);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue