From: Christian Heller Date: Fri, 3 Jul 2020 20:32:20 +0000 (+0200) Subject: Improve explanation of missing data in HTML table view. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/test?a=commitdiff_plain;h=7c0bea9a26a3e3a5466f1a75d41f4a48d2106ac2;p=berlin-corona-table Improve explanation of missing data in HTML table view. --- diff --git a/enhance_table.py b/enhance_table.py index 7410589..8d0fd33 100755 --- a/enhance_table.py +++ b/enhance_table.py @@ -163,7 +163,7 @@ table, tr, th, td { border: 1px solid black; } long_winc = translate['winc'] for district in sorted_districts: district_data = db[district][date] - week_sum = week_avg = week_inc = '' + week_sum = week_avg = week_inc = '(not enough data)' new_infections = district_data['new_infections'] if 'week_sum' in district_data: week_sum = '%s' % district_data['week_sum']