mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-10 02:04:39 +08:00
fix #1829 Py_SetProgramName is deprecated, but was optional in our code.
This commit is contained in:
parent
8502736e2c
commit
38cb327991
1 changed files with 1 additions and 1 deletions
|
@ -407,7 +407,7 @@ static int CmdScriptRun(const char *Cmd) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// optional but recommended
|
// optional but recommended
|
||||||
Py_SetProgramName(program);
|
//Py_SetProgramName(program);
|
||||||
#ifdef HAVE_PYTHON_SWIG
|
#ifdef HAVE_PYTHON_SWIG
|
||||||
// hook Proxmark3 API
|
// hook Proxmark3 API
|
||||||
PyImport_AppendInittab("_pm3", PyInit__pm3);
|
PyImport_AppendInittab("_pm3", PyInit__pm3);
|
||||||
|
|
Loading…
Reference in a new issue