Skip to content
Snippets Groups Projects
Commit cf1b5e99 authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Delay loading caldav

parent 08cd0d74
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,6 @@ import ipaddress
from models.database import TodoState
from validators import CheckTodoDateByState
from calendarpush import Client as CalendarClient
from shared import current_user
import config
......@@ -38,6 +37,7 @@ def get_todostate_choices():
]
def get_calendar_choices(protocoltype=None):
from calendarpush import Client as CalendarClient
calendars = CalendarClient().get_calendars()
choices = []
if calendars is not None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment