From: Christian Heller Date: Fri, 3 Jul 2020 18:59:04 +0000 (+0200) Subject: Use long form district names in HTML variant. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/foo.html?a=commitdiff_plain;h=5ece867536877574b33064933504740484e08797;p=berlin-corona-table Use long form district names in HTML variant. --- diff --git a/enhance_table.py b/enhance_table.py index 0482bdf..acbebc6 100755 --- a/enhance_table.py +++ b/enhance_table.py @@ -136,7 +136,9 @@ if output_type == 'html': print('') print('date') for district in sorted_districts: - print('%s' % district) + long_form = translate[district] + print('%s' % long_form) print('') sorted_dates.reverse() for date in sorted_dates: