Skip to content

Commit

Permalink
Some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tsbarnes committed Sep 10, 2021
1 parent 9f728bd commit f542fc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions screens/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f542fc5

Please sign in to comment.