feeder: fix mismatch between insertion of generic evolutions and evolutions (#13028)
This commit is contained in:
parent
a38f52b5fd
commit
c3e14387b6
|
@ -679,7 +679,7 @@ class WcsFormdefFeeder(object):
|
|||
evolutions.append(tuple(row))
|
||||
self.ex('INSERT INTO {evolution_table} (%s) VALUES %s' % (
|
||||
', '.join(['formdata_id', 'status_id', 'time', 'date', 'hour_id']),
|
||||
', '.join(['%s'] * len(generic_evolutions))), vars=generic_evolutions)
|
||||
', '.join(['%s'] * len(evolutions))), vars=evolutions)
|
||||
|
||||
def get_first_agent_in_evolution(self, formdata):
|
||||
for evo in formdata.evolution:
|
||||
|
|
Loading…
Reference in New Issue