Browse Source

Fixed typo

Signed-off-by: Jim Martens <github@2martens.de>
master
Jim Martens 1 year ago
parent
commit
5efd0b5b97
2 changed files with 6 additions and 1 deletions
  1. +5
    -0
      CHANGES.txt
  2. +1
    -1
      src/twomartens/calendarsync/calendarsync.py

+ 5
- 0
CHANGES.txt View File

@@ -1,3 +1,8 @@
1.1.3
-----

* fixed typo

1.1.2
-----



+ 1
- 1
src/twomartens/calendarsync/calendarsync.py View File

@@ -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:


Loading…
Cancel
Save