From 913393a199ca13fd1974256c9a6ce967db1c2d81 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Sun, 18 Nov 2018 17:22:32 +0100 Subject: [PATCH] Fixed typo Signed-off-by: Jim Martens --- src/twomartens/calendarsync/calendarsync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'