From: Christian Heller Date: Fri, 3 Jul 2020 20:25:45 +0000 (+0200) Subject: Remove "all of Berlin" column collapsibility. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/process?a=commitdiff_plain;h=110bcb27bfd9f6e4a8984ca205f8ddae1e146f26;p=berlin-corona-table Remove "all of Berlin" column collapsibility. --- diff --git a/enhance_table.py b/enhance_table.py index 0338255..105e1d5 100755 --- a/enhance_table.py +++ b/enhance_table.py @@ -170,14 +170,15 @@ table, tr, th, td { border: 1px solid black; } week_inc = '%.1f' % district_data['week_incidence'] print('') print(new_infections) - if district == sum_district: - print('
') - else: - print('
') + if district != sum_district: + print('
') + print('
') print('' % (long_wsum, week_sum)) print('' % (long_wavg, week_avg)) print('' % (long_winc, week_inc)) - print('
%s%s
%s%s
%s%s
') + print('') + if district != sum_district: + print('') print('') print('') print('')