home · contact · privacy
Turn scrape.py output into daily infections table order format.
authorChristian Heller <c.heller@plomlompom.de>
Sat, 29 Aug 2020 17:03:47 +0000 (19:03 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Sat, 29 Aug 2020 17:03:47 +0000 (19:03 +0200)
scrape.py

index 4448de659f1e9e260d6c81fd96ed4f8e3ca4dcf4..d05fe909707bae674362e84b9dfa6ffeeff87073 100755 (executable)
--- 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 = []