X-Git-Url: https://plomlompom.com/repos/?p=berlin-corona-table;a=blobdiff_plain;f=enhance_table.py;h=5926db0c1cc6a61bd445b6d482dd549057bcee23;hp=fd401671a3723ed5798b4f49927e43e0e6b34aaa;hb=ac8865761b936186c35acd382c7d191b0b5ef7bd;hpb=bdc52bdeda5f03066adb764c810a37dff408f2ff diff --git a/enhance_table.py b/enhance_table.py index fd40167..5926db0 100755 --- a/enhance_table.py +++ b/enhance_table.py @@ -136,16 +136,19 @@ if output_type == 'html': Berlin's Corona infection numbers, development by districts +home · contact · privacy

Berlin's Corona infection numbers, development by districts

Updated daily at 9pm based on data from the "Senatsverwaltung für Gesundheit, Pflege und Gleichstellung". Source code. Text view optimized for terminal curl.

+""") sorted_dates.reverse() @@ -155,8 +158,11 @@ table, tr, th, td { border: 1px solid black; text-align: center; } if sum_district == district: print('' % long_form) else: - print('' % long_form) + # Wrap in div because the vertical orientation otherwise fails + # in Chromium. + print('' % long_form) print('') + print('') for date in sorted_dates: print('') print('' % date)
date%s%s
%s
%s