Skip to content
Snippets Groups Projects
Commit cf3c11c7 authored by thomaswoehlke's avatar thomaswoehlke
Browse files

Refactoring: vaccination

parent 24b3701d
No related branches found
No related tags found
1 merge request!162Refactoring 2021 05 20 start
......@@ -220,12 +220,12 @@ class RkiServiceUpdateFull(RkiServiceUpdateBase):
processed_full_update=True,
)
if last_rki_data == o:
last_rki_data.altersgruppe.append(my_altersgruppe)
last_rki_data.altersgruppen.append(my_altersgruppe)
else:
o.altersgruppen.append(my_altersgruppe)
db.session.add(o)
last_rki_data = o
i += 1
i += 1
if i % 2000 == 0:
app.logger.info(" full update RKI data ... "+str(i)+" rows")
db.session.commit()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment