From 36caa6db89c989d0fad6a3c4e694f2e678660f82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= <40151420+ldericher@users.noreply.github.com> Date: Tue, 6 Sep 2022 22:20:01 +0000 Subject: [PATCH] relative imports --- api/ovdashboard_api/config.py | 3 +-- api/ovdashboard_api/dav_calendar.py | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/api/ovdashboard_api/config.py b/api/ovdashboard_api/config.py index 5c21bb5..fc5a733 100644 --- a/api/ovdashboard_api/config.py +++ b/api/ovdashboard_api/config.py @@ -10,8 +10,7 @@ from tomli import loads as toml_loads from tomli_w import dump as toml_dump from webdav3.exceptions import RemoteResourceNotFound -from ovdashboard_api.dav_common import caldav_list - +from .dav_common import caldav_list from .dav_file import DavFile diff --git a/api/ovdashboard_api/dav_calendar.py b/api/ovdashboard_api/dav_calendar.py index d47c64c..6af3d17 100644 --- a/api/ovdashboard_api/dav_calendar.py +++ b/api/ovdashboard_api/dav_calendar.py @@ -15,9 +15,8 @@ from caldav.lib.error import ReportError from pydantic import BaseModel, validator from vobject.icalendar import VEvent -from ovdashboard_api.config import Config - from .async_helpers import get_ttl_hash, run_in_executor, timed_alru_cache +from .config import Config from .dav_common import caldav_principal from .settings import SETTINGS