From: Michael Tremer Date: Tue, 27 Oct 2020 09:44:45 +0000 (+0000) Subject: fireinfo: Fix rendering page when country code is unknown X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8444e795f68e56fe8b306f3bf286163b33a517d3;p=ipfire.org.git fireinfo: Fix rendering page when country code is unknown Signed-off-by: Michael Tremer --- 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]) }}