X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/e9c5b68a53b52f039c99c388b12d64607442948a..b2f281d78c0fa6ff0a92901a603098df6a5e57b2:/.mutt/icalparser diff --git a/.mutt/icalparser b/.mutt/icalparser index 77e7fe2..50ed472 100755 --- a/.mutt/icalparser +++ b/.mutt/icalparser @@ -52,7 +52,7 @@ def parse_ics_file(fp): event['flags'] = ' '.join('{}:{}'.format(*f) for f in flags) for label in FIELDS: if label in event: - text = fill(event[label], width=COLUMNS-INDENT, + text = fill(str(event[label]), width=COLUMNS-INDENT, initial_indent='', subsequent_indent=' '*INDENT) print(f'{label.capitalize():>{WIDTH}s}{COLSEP}{text}')