diff --git a/screens/tasks.py b/screens/tasks.py index 4de1d1c..9f75125 100644 --- a/screens/tasks.py +++ b/screens/tasks.py @@ -47,8 +47,8 @@ def get_current_tasks(self): for connection in CALENDAR_URLS: if str(connection['type']).lower() == 'caldav': - self.tasks.extend(self.get_tasks_from_caldav(connection["url"], - connection["username"], connection["password"])) + self.get_tasks_from_caldav(connection["url"], + connection["username"], connection["password"]) elif str(connection['type']).lower() == 'webcal': logging.debug("calendar type doesn't support tasks") else: