Skip to content

TypeError: must be string or None, not list #2

Description

@Ivlyth

image

i think it's cause by

PyObject *
CryptImpHook_find_module(self, args)
PyObject *self, *args;
{
        int err;
        char *filename, *fullname, *path;
        CryptImpHook *hook = (CryptImpHook *)self;


        err = PyArg_ParseTuple(args, "s|z", &fullname, &path);

path it's char list in C , but python will pass a list object to the second param .

I'm trying to fix it ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions