home · contact · privacy
Remove redundant sum_district assignments.
authorChristian Heller <c.heller@plomlompom.de>
Fri, 3 Jul 2020 23:49:50 +0000 (01:49 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Fri, 3 Jul 2020 23:49:50 +0000 (01:49 +0200)
enhance_table.py

index 7da699dfdee9cc1feab083c05113942085aa1d08..2410099c2e3c72a07acb450a1e441ec47b980c46 100755 (executable)
@@ -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.