diff options
author | Peter Havekes <p.havekes@avans.nl> | 2018-10-19 11:44:30 +0200 |
---|---|---|
committer | Peter Havekes <p.havekes@avans.nl> | 2018-10-19 11:44:30 +0200 |
commit | 2afae21b2bfe0186d6ea29f20185de43d9e24a3d (patch) | |
tree | 6db87a56323bc14e8fdd196fef04dfa03b560f80 | |
parent | 920244b202efbacc3ad80ad3db86a5f0d35db28b (diff) | |
download | calendar-cli-2afae21b2bfe0186d6ea29f20185de43d9e24a3d.zip |
clean ical data for output utf-8
-rwxr-xr-x | calendar-cli.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar-cli.py b/calendar-cli.py index a71a77c..60fb11c 100755 --- a/calendar-cli.py +++ b/calendar-cli.py @@ -450,7 +450,7 @@ def calendar_agenda(caldav_conn, args): events = [] if args.icalendar: for ical in events_: - print(ical.data) + print(ical.data).encode('utf-8').strip() else: ## flatten. A recurring event may be a list of events. ## jeez ... zimbra and DaviCal does completely different things here |