Fixed typo

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
Jim Martens 2018-11-18 17:22:32 +01:00
parent e0be87a0ba
commit 913393a199
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ def sync(calendar_url: str, event_collection_path: str) -> None:
event_content = event_content.replace('<location>', location_info[0])
if len(location_info) == 2:
event_content = event_content.replace('<address>', location_info[1])
else
else:
event_content = event.content.replace('<address>', location_info[0])
event_filename = begin.date().isoformat() + '-' + event.name.replace(' ', '_') + '.markdown'