Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
Jim Martens 2018-11-19 12:56:35 +01:00
rodič 2aeb4f1237
revize 5efd0b5b97
2 změnil soubory, kde provedl 6 přidání a 1 odebrání

Zobrazit soubor

@ -1,3 +1,8 @@
1.1.3
-----
* fixed typo
1.1.2
-----

Zobrazit soubor

@ -77,7 +77,7 @@ def sync(calendar_url: str, event_collection_path: str) -> None:
if len(location_info) == 2:
event_content = event_content.replace('<address>', location_info[1])
else:
event_content = event.content.replace('<address>', location_info[0])
event_content = event_content.replace('<address>', 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: