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:
b2afbdc
)
Replace "not enough data" string for space reasons.
author
Christian Heller
<c.heller@plomlompom.de>
Fri, 3 Jul 2020 23:17:35 +0000
(
01:17
+0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Fri, 3 Jul 2020 23:17:35 +0000
(
01:17
+0200)
enhance_table.py
patch
|
blob
|
history
diff --git
a/enhance_table.py
b/enhance_table.py
index c670739eb69c53f2ef9ce2b7e26a9300e9138424..c2ea18d658abfa5e764d7f1c59d38e2448e7609c 100755
(executable)
--- a/
enhance_table.py
+++ b/
enhance_table.py
@@
-177,7
+177,7
@@
if output_type == 'html':
print('</table></td>')
for district in sorted_districts:
district_data = db[district][date]
- week_sum = week_avg = week_inc = '
(not enough data)
'
+ week_sum = week_avg = week_inc = '
?
'
new_infections = district_data['new_infections']
if 'week_sum' in district_data:
week_sum = '%s' % district_data['week_sum']