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:
707cfa7
)
Remove redundant sum_district assignments.
author
Christian Heller
<c.heller@plomlompom.de>
Fri, 3 Jul 2020 23:49:50 +0000
(
01:49
+0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Fri, 3 Jul 2020 23:49:50 +0000
(
01:49
+0200)
enhance_table.py
patch
|
blob
|
history
diff --git
a/enhance_table.py
b/enhance_table.py
index 7da699dfdee9cc1feab083c05113942085aa1d08..2410099c2e3c72a07acb450a1e441ec47b980c46 100755
(executable)
--- a/
enhance_table.py
+++ b/
enhance_table.py
@@
-150,7
+150,6
@@
th { text-align: left; vertical-align: bottom; }
<tr>
<th colspan=2></th>""")
sorted_dates.reverse()
- sum_district = sorted_districts[-1]
for district in sorted_districts:
long_form = translate[district]
# Wrap in div because the vertical orientation otherwise fails
@@
-217,7
+216,6
@@
HTML view: https://plomlompom.com/berlin_corona.html
# separated into 7-day units.
sorted_dates.reverse()
weekday_count = 0
- sum_district = sorted_districts[-1]
for date in sorted_dates:
# Week table header.