X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/static/git-favicon.png?a=blobdiff_plain;f=enhance_table.py;h=5926db0c1cc6a61bd445b6d482dd549057bcee23;hb=ac8865761b936186c35acd382c7d191b0b5ef7bd;hp=6fe12d4282fb8c0816756673041b33e57c076a7d;hpb=46e399e76a33e978ff50cdfd735d4701093c1976;p=berlin-corona-table diff --git a/enhance_table.py b/enhance_table.py index 6fe12d4..5926db0 100755 --- a/enhance_table.py +++ b/enhance_table.py @@ -136,10 +136,11 @@ if output_type == 'html':
Updated daily at 9pm based on data from the "Senatsverwaltung für Gesundheit, Pflege und Gleichstellung". Source code. Text view optimized for terminal curl.
date | """) sorted_dates.reverse() @@ -156,8 +158,11 @@ table, tr, th, td { border: 1px solid black; text-align: center; } if sum_district == district: print('%s | ' % long_form) else: - print('%s | ' % long_form) + # Wrap in div because the vertical orientation otherwise fails + # in Chromium. + print('%s | ' % long_form)
print('
---|---|---|---|
%s | ' % date)