Fix typo
This commit is contained in:
1 parent
a42c68e8a1
commit
1475601efd
1 file changed
+1
-1
@@ -32,7 +32,7 @@ class WorkflowService(Service):
|
||||
|
||||
def trg_trigger(self, user, res_type, res_id, cursor):
|
||||
"Trigger trigger"
|
||||
cursor.execute('SELECT instance_id FROM wkf_trigger ' \
|
||||
cursor.execute('SELECT instance FROM wkf_trigger ' \
|
||||
'WHERE res_id = %s AND model = %s', (res_id, res_type))
|
||||
# TODO remove the query from for statement
|
||||
for (instance_id,) in cursor.fetchall():
|
||||
|
||||
Reference in new issue
Block a user