X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/d5205848963be4dac741aea462d3647945205ea8..6d8c4039cb08e8597a60136b6fc9386ce0690ca1:/.mutt/icalparser?ds=inline diff --git a/.mutt/icalparser b/.mutt/icalparser index b2b1af3..b7a28c9 100755 --- a/.mutt/icalparser +++ b/.mutt/icalparser @@ -32,7 +32,7 @@ def parse_ics_file(fp): if event.name != "VEVENT": continue print('=' * (int(os.getenv('COLUMNS', 80))-10)) print('{} → {}'.format(*dtstrs(event.get('dtstart'), event.get('dtend')))) - for i in ('summary','organizer','location','rrule'): + for i in ('summary','organizer','location','uid','rrule'): print(' {:9s}: {}'.format(i.capitalize(), event.get(i, f'(no {i})'))) flags = [] for k in ('status', 'class', 'transp', 'priority'):