From 8444e795f68e56fe8b306f3bf286163b33a517d3 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 27 Oct 2020 09:44:45 +0000 Subject: [PATCH] fireinfo: Fix rendering page when country code is unknown Signed-off-by: Michael Tremer --- src/templates/fireinfo/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/templates/fireinfo/index.html b/src/templates/fireinfo/index.html index 608a57bf..e07cb07d 100644 --- a/src/templates/fireinfo/index.html +++ b/src/templates/fireinfo/index.html @@ -76,7 +76,7 @@
- {{ _("IPFire is also running in these countries: %s") % locale.list(list((format_country_name(c) for c, p in locations if p < 0.01))) }} + {{ _("IPFire is also running in these countries: %s") % locale.list([(format_country_name(c) or c) for c, p in locations if p < 0.01]) }}
-- 2.47.3