mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-09-22 00:06:13 +08:00
chg, right number of args..
This commit is contained in:
parent
5fcb031a68
commit
3f02fa6e34
|
@ -240,7 +240,7 @@ static int CmdScriptRun(const char *Cmd) {
|
|||
py_args[i+1] = Py_DecodeLocale(argv[i], NULL);
|
||||
}
|
||||
|
||||
PySys_SetArgv(argc, py_args);
|
||||
PySys_SetArgv(argc+1, py_args);
|
||||
|
||||
// clean up
|
||||
for (int i = 0; i < argc; ++i) {
|
||||
|
|
Loading…
Reference in a new issue