From 5efd0b5b97ad9afb1221a1a48a23adf5534a7a3b Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Mon, 19 Nov 2018 12:56:35 +0100 Subject: [PATCH] Fixed typo Signed-off-by: Jim Martens --- CHANGES.txt | 5 +++++ src/twomartens/calendarsync/calendarsync.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGES.txt b/CHANGES.txt index 99f9bdc..a079c21 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,8 @@ +1.1.3 +----- + +* fixed typo + 1.1.2 ----- diff --git a/src/twomartens/calendarsync/calendarsync.py b/src/twomartens/calendarsync/calendarsync.py index 4190260..abe6694 100644 --- a/src/twomartens/calendarsync/calendarsync.py +++ b/src/twomartens/calendarsync/calendarsync.py @@ -77,7 +77,7 @@ def sync(calendar_url: str, event_collection_path: str) -> None: if len(location_info) == 2: event_content = event_content.replace('
', location_info[1]) else: - event_content = event.content.replace('
', location_info[0]) + event_content = event_content.replace('
', location_info[0]) event_filename = begin.date().isoformat() + '-' + event.name.replace(' ', '_') + '.markdown' with open(event_collection_path + event_filename, 'w', encoding='utf-8', newline='\n') as event_file: