From a96704e1fa58533356b2cd96b5ada77bfd10b42f Mon Sep 17 00:00:00 2001 From: ducklet Date: Tue, 10 Nov 2020 21:42:20 +0100 Subject: [PATCH] urlinfo:imdb: add thousand separator to rating count display --- hotdog/command/urlinfo_/imdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hotdog/command/urlinfo_/imdb.py b/hotdog/command/urlinfo_/imdb.py index 1e75825..72bd033 100644 --- a/hotdog/command/urlinfo_/imdb.py +++ b/hotdog/command/urlinfo_/imdb.py @@ -175,7 +175,7 @@ async def handle(message: Message, url, info): if ex.duration_s: details.append(f"⏱ {pretty_duration(ex.duration_s)}") if ex.rating_count: - details.append(f"⭐️ {ex.rating_value:_.01f} ⁄ 10 (👤 {ex.rating_count})") + details.append(f"⭐️ {ex.rating_value:_.01f} ⁄ 10 (👤 {ex.rating_count:_})") details.append(f"🏷 {' ∕ '.join(ex.genres[:3])}") lines = [ f"{ex.title} ({ex.published:%Y})",