home
·
contact
·
privacy
projects
/
berlin-corona-table
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c56f4c6
)
Improve explanation of missing data in HTML table view.
author
Christian Heller
<c.heller@plomlompom.de>
Fri, 3 Jul 2020 20:32:20 +0000
(22:32 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Fri, 3 Jul 2020 20:32:20 +0000
(22:32 +0200)
enhance_table.py
patch
|
blob
|
history
diff --git
a/enhance_table.py
b/enhance_table.py
index 7410589f98c8b33f0d571121767217819b3fc973..8d0fd335ec2c62e077bb3b34fcd47f10920adb30 100755
(executable)
--- 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']