diff --git a/src/twomartens/calendarsync/calendarsync.py b/src/twomartens/calendarsync/calendarsync.py index 478794b..4190260 100644 --- a/src/twomartens/calendarsync/calendarsync.py +++ b/src/twomartens/calendarsync/calendarsync.py @@ -76,7 +76,7 @@ def sync(calendar_url: str, event_collection_path: str) -> None: event_content = event_content.replace('', location_info[0]) if len(location_info) == 2: event_content = event_content.replace('
', location_info[1]) - else + else: event_content = event.content.replace('
', location_info[0]) event_filename = begin.date().isoformat() + '-' + event.name.replace(' ', '_') + '.markdown'