python-crypt-import-hooks icon indicating copy to clipboard operation
python-crypt-import-hooks copied to clipboard

TypeError: must be string or None, not list

Open Ivlyth opened this issue 9 years ago • 0 comments

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 ...

Ivlyth avatar Apr 07 '16 08:04 Ivlyth