From 7c0bea9a26a3e3a5466f1a75d41f4a48d2106ac2 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Fri, 3 Jul 2020 22:32:20 +0200 Subject: [PATCH] Improve explanation of missing data in HTML table view. --- enhance_table.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'] -- 2.30.2