This commit is contained in:
Gabriele De Rosa 2021-11-26 17:28:24 +01:00
parent b3acda0edd
commit a1e212202d
1 changed files with 1 additions and 1 deletions

2
bot.py
View File

@ -102,7 +102,7 @@ def generate(df, target, template):
for line in f.read().splitlines(): for line in f.read().splitlines():
if "<!-- totalVaccinations -->" in line: if "<!-- totalVaccinations -->" in line:
line = f"{totalVaccines}" line = f"{totalVaccines}"
if "<!-- totalVaccinationsBooster -->" in line: elif "<!-- totalVaccinationsBooster -->" in line:
line = f"{totalVaccinesBooster}" line = f"{totalVaccinesBooster}"
elif "<!-- typeVaccinations -->" in line: elif "<!-- typeVaccinations -->" in line:
line = f"{first_or_second}" line = f"{first_or_second}"