Fix spaces before percentages

pull/54/head
Stijn De Clercq 2021-04-24 19:21:24 +02:00
parent d87af32f6d
commit 245a900c87
1 changed files with 4 additions and 4 deletions

View File

@ -73,13 +73,13 @@ class Corona(commands.Cog):
embed = discord.Embed(colour=discord.Colour.red(), title="Vaccinatiecijfers") embed = discord.Embed(colour=discord.Colour.red(), title="Vaccinatiecijfers")
embed.add_field(name="Eerste Dosis", value="{:,} ({} %)".format(first_dose, first_dose_perc)) embed.add_field(name="Eerste Dosis", value="{:,} ({}%)".format(first_dose, first_dose_perc))
embed.add_field(name="Eerste Dosis (Vandaag)", embed.add_field(name="Eerste Dosis (Vandaag)",
value="{:,} ({} %)".format(new_info["today"]["first_dose"], first_today_perc)) value="{:,} ({}%)".format(new_info["today"]["first_dose"], first_today_perc))
embed.add_field(name="Eerste Dosis (Verschil)", value=first_trend) embed.add_field(name="Eerste Dosis (Verschil)", value=first_trend)
embed.add_field(name="Tweede Dosis", value="{:,} ({} %)".format(second_dose, second_dose_perc)) embed.add_field(name="Tweede Dosis", value="{:,} ({}%)".format(second_dose, second_dose_perc))
embed.add_field(name="Tweede Dosis (Vandaag)", embed.add_field(name="Tweede Dosis (Vandaag)",
value="{:,} ({} %)".format(new_info["today"]["second_dose"], second_today_perc)) value="{:,} ({}%)".format(new_info["today"]["second_dose"], second_today_perc))
embed.add_field(name="Tweede Dosis (Verschil)", value=second_trend) embed.add_field(name="Tweede Dosis (Verschil)", value=second_trend)
# Only add updated timestamp if the request succeeded # Only add updated timestamp if the request succeeded