Merge pull request #139 from stijndcl/fix-missing-formatting

Add missing format specifier
pull/142/head
Stijn De Clercq 2022-10-12 22:18:27 +02:00 committed by GitHub
commit 625429daff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ class CovidData(EmbedPydantic):
recovered_indicator = self._trend_indicator(self.today.today_recovered, self.yesterday.today_recovered) recovered_indicator = self._trend_indicator(self.today.today_recovered, self.yesterday.today_recovered)
embed.add_field( embed.add_field(
name="Recovered (Today)", name="Recovered (Today)",
value=f"{self.today.recovered} **({self.today.today_recovered:,})** {recovered_indicator}".replace( value=f"{self.today.recovered:,} **({self.today.today_recovered:,})** {recovered_indicator}".replace(
",", "." ",", "."
), ),
inline=False, inline=False,