diff --git a/src/itoolkit/transport/database.py b/src/itoolkit/transport/database.py index 8004313..c59dd73 100644 --- a/src/itoolkit/transport/database.py +++ b/src/itoolkit/transport/database.py @@ -61,6 +61,6 @@ def call(self, tk): # call the procedure using the correct method for this # cursor type, which we ascertained in the constructor - getattr(cursor, self.func)(cursor, self.query, parms) + getattr(cursor, self.func)(self.query, parms) return "".join(row[0] for row in cursor).rstrip('\0')