]> git.madduck.net Git - etc/mutt.git/blobdiff - .mutt/icalparser

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

show text/calendar if available
[etc/mutt.git] / .mutt / icalparser
index b2b1af3d3d37c91934a7b789b76dbbe7b10be268..b7a28c96589ea14fc910347878cf31e4eafc4632 100755 (executable)
@@ -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'))))
         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'):
             print('  {:9s}: {}'.format(i.capitalize(), event.get(i, f'(no {i})')))
         flags = []
         for k in ('status', 'class', 'transp', 'priority'):