lines = f.readlines()
f.close()
-# Parse first table file line for the names and order of districts.
+# Parse first table file line for the names and order of districts.
db = {}
sorted_districts = []
for header in lines[0].split():
# sum of the individual districts new infections. Yes, sometimes Lageso sends
# data that is troubled in this way. It will then have to be fixed manually in
# the table file, since we should have a human look at what mistake was
-# probably made.
+# probably made.
for date in sorted_dates:
sum_district = sorted_districts[-1]
day_sum = 0