From e5064eeaed553c1e8213cef6e52d556c8a32f69a Mon Sep 17 00:00:00 2001 From: Dmitry Date: Fri, 30 Apr 2021 11:45:05 +0300 Subject: [PATCH] cfg optional --- sync_ics2gcal/gcal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync_ics2gcal/gcal.py b/sync_ics2gcal/gcal.py index e786e11..6c96cbd 100644 --- a/sync_ics2gcal/gcal.py +++ b/sync_ics2gcal/gcal.py @@ -86,7 +86,7 @@ class GoogleCalendar: logger = logging.getLogger('GoogleCalendar') - def __init__(self, service: discovery.Resource, calendarId: str): + def __init__(self, service: discovery.Resource, calendarId: Optional[str]): self.service: discovery.Resource = service self.calendarId: str = calendarId