1
0
mirror of https://github.com/b4tman/sync_ics2gcal synced 2025-12-16 16:12:39 +00:00

fix var names

This commit is contained in:
2022-02-24 12:20:07 +03:00
parent 839a3ac0c3
commit 38fe634a9f
4 changed files with 25 additions and 25 deletions

View File

@@ -38,7 +38,7 @@ def main():
if 'logging' in config:
logging.config.dictConfig(config['logging'])
calendarId: str = config['calendar']['google_id']
calendar_id: str = config['calendar']['google_id']
ics_filepath: str = config['calendar']['source']
start = get_start_date(config['start_from'])
@@ -47,7 +47,7 @@ def main():
converter.load(ics_filepath)
service = GoogleCalendarService.from_config(config)
gcalendar = GoogleCalendar(service, calendarId)
gcalendar = GoogleCalendar(service, calendar_id)
sync = CalendarSync(gcalendar, converter)
sync.prepare_sync(start)