mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
chg, right number of args..
This commit is contained in:
parent
5fcb031a68
commit
3f02fa6e34
1 changed files with 2 additions and 2 deletions
|
@ -240,7 +240,7 @@ static int CmdScriptRun(const char *Cmd) {
|
||||||
py_args[i+1] = Py_DecodeLocale(argv[i], NULL);
|
py_args[i+1] = Py_DecodeLocale(argv[i], NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
PySys_SetArgv(argc, py_args);
|
PySys_SetArgv(argc+1, py_args);
|
||||||
|
|
||||||
// clean up
|
// clean up
|
||||||
for (int i = 0; i < argc; ++i) {
|
for (int i = 0; i < argc; ++i) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue