1
1
mirror of https://github.com/derogab/ITAvsCOVIDbot synced 2024-12-27 07:52:24 +01:00
This commit is contained in:
Gabriele De Rosa 2021-11-26 17:28:24 +01:00
parent b3acda0edd
commit a1e212202d

2
bot.py
View File

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