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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user