summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/almodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/almodule.c b/Modules/almodule.c
index ffd5a56..7fcfae6 100644
--- a/Modules/almodule.c
+++ b/Modules/almodule.c
@@ -1545,7 +1545,7 @@ al_Connect(self, args)
ALparamInfo *propinfo = NULL;
PyObject *propobj = NULL;
- if (!PyArg_ParseTuple(args, "ii|O!", &source, &dest, &propobj))
+ if (!PyArg_ParseTuple(args, "ii|O!", &source, &dest, &PyList_Type, &propobj))
return NULL;
if (propobj != NULL) {
nprops = python2params(source, dest, propobj, &props, &propinfo);