From dac7cf17a0f20ed2c4f36799246dbb986b915554 Mon Sep 17 00:00:00 2001 From: ThePrez Date: Wed, 15 May 2019 09:42:27 -0500 Subject: [PATCH] Fix faulty getattr() invocation --- src/itoolkit/transport/database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')