1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-07-02 16:58:30 +00:00

added missing import

This commit is contained in:
Tuna Celik 2024-03-02 18:28:48 +01:00
parent 1485777bc6
commit b24eae8369

View file

@ -28,6 +28,10 @@ from radicale.app.base import Access, ApplicationBase
from radicale.hook import HookNotificationItem, HookNotificationItemTypes
from radicale.log import logger
# HACK: https://github.com/tiran/defusedxml/issues/54
import defusedxml.ElementTree as DefusedET # isort:skip
sys.modules["xml.etree"].ElementTree = ET # type:ignore[attr-defined]
def xml_proppatch(base_prefix: str, path: str,
xml_request: Optional[ET.Element],