X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/e9c5b68a53b52f039c99c388b12d64607442948a..35dff95984713de562f2f5863aa2131bed841cca:/.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}')