From 4d32db389fabfa815971f9de402542b4fc1657fa Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Sat, 8 Dec 2018 08:50:37 +0100 Subject: [PATCH] show uid for events --- .mutt/icalparser | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'): -- 2.39.5