ovdashboard/api/ovdashboard_api/__init__.py

9 lines
222 B
Python

from webdav3.client import Client
from .config import SETTINGS
CLIENT = Client({
"webdav_hostname": SETTINGS.webdav_url,
"webdav_login": SETTINGS.dav_username,
"webdav_password": SETTINGS.dav_password,
})