X-Git-Url: https://plomlompom.com/repos/?p=berlin-corona-table;a=blobdiff_plain;f=scrape.py;h=f1cee2d40414852cc2f2b8f311d124cd72dfb27a;hp=4448de659f1e9e260d6c81fd96ed4f8e3ca4dcf4;hb=7dc465ba65890a95b34505f7c8bd0421f0efc43b;hpb=a4b4a867c3ed12b1b3c0256a505e3f000d969e8f diff --git a/scrape.py b/scrape.py index 4448de6..f1cee2d 100755 --- a/scrape.py +++ b/scrape.py @@ -227,7 +227,7 @@ fixes = { # numbers adds up to 228 – looks like someone misread an 8 as a 0. datetime.datetime(2020, 3, 25): { 'sum': { - 'growth': 220 + 'growth': 228 } }, } @@ -367,6 +367,7 @@ for date in dates_sorted: raise Exception('Questionable district infection growth sum in %s' % date) # Final output. +dates_sorted.reverse() print(' '*10, ' '.join(['%3s' % d for d in districts_sorted])) for date in dates_sorted: growths = []