Skip to content
Snippets Groups Projects
Commit 02b5e02f authored by alexey.stratulat's avatar alexey.stratulat
Browse files

[*] Fixed parse input arguments in the main function. Now this function...

[*] Fixed parse input arguments in the main function. Now this function expects two lines and a list as input arguments, not two lines and a number.
parent c23095da
No related branches found
No related tags found
1 merge request!1[*] Fixed parse input arguments in the main function. Now this function...
......@@ -17,7 +17,7 @@ PyObject* dap_app_cli_main_py(PyObject *self, PyObject *args)
int l_argc = 0;
char ** l_argv = NULL;
PyObject* l_args_py = NULL;
if (!PyArg_ParseTuple(args, "ssI", &l_app_name,&l_socket_path, &l_args_py))
if (!PyArg_ParseTuple(args, "ssO", &l_app_name,&l_socket_path, &l_args_py))
return NULL;
Py_ssize_t l_args_py_size = PyList_Size(l_args_py);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment