X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/d5205848963be4dac741aea462d3647945205ea8..f71e8e88aab41e7cfdba3550239c9ad9a7326768:/.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'):