From: Christian Heller Date: Sat, 29 Aug 2020 17:03:47 +0000 (+0200) Subject: Turn scrape.py output into daily infections table order format. X-Git-Url: https://plomlompom.com/repos/?p=berlin-corona-table;a=commitdiff_plain;h=6bc3d0cd7fb6e4872e47951dc66aa72f4014b0aa Turn scrape.py output into daily infections table order format. --- diff --git a/scrape.py b/scrape.py index 4448de6..d05fe90 100755 --- a/scrape.py +++ b/scrape.py @@ -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 = []