From 110bcb27bfd9f6e4a8984ca205f8ddae1e146f26 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Fri, 3 Jul 2020 22:25:45 +0200 Subject: [PATCH] Remove "all of Berlin" column collapsibility. --- enhance_table.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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('') -- 2.30.2