home · contact · privacy
Fix txt version indentation.
authorChristian Heller <c.heller@plomlompom.de>
Sat, 4 Jul 2020 00:09:26 +0000 (02:09 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Sat, 4 Jul 2020 00:09:26 +0000 (02:09 +0200)
enhance_table.py

index 3e36e0e40d0dc51913ef55d0f5d4ef8fe1434c9f..5287c03a3ea30796251eb1fda25455daa25b8632 100755 (executable)
@@ -223,8 +223,8 @@ HTML view: https://plomlompom.com/berlin_corona.html
 
         # Week table header.
         if weekday_count == 0:
-            print(' '*11, '  '.join(sorted_districts[:-1]),
-                  sorted_districts[-1], 'wsum', ' wavg', 'winc')
+            print(' '*10, '  '.join(sorted_districts),
+                  'wsum', ' wavg', 'winc')
             week_start_date = date
 
         # Day data line.