X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/47a34268b18fe509d8ebec679ef1a9d7529060ac..4d32db389fabfa815971f9de402542b4fc1657fa:/.mutt/icalparser?ds=sidebyside 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'):