From f13581e13f5e699a54dc3d7b48efffbd149e1966 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sat, 4 Jul 2020 01:49:50 +0200 Subject: [PATCH] Remove redundant sum_district assignments. --- enhance_table.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/enhance_table.py b/enhance_table.py index 7da699d..2410099 100755 --- a/enhance_table.py +++ b/enhance_table.py @@ -150,7 +150,6 @@ th { text-align: left; vertical-align: bottom; } """) 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. -- 2.30.2