0.9.7.1: clean pinned WebDAV resolver implementation

This commit is contained in:
Terranom674
2026-08-19 20:41:46 +02:00
parent 5f81cc9ce9
commit 5c62dbd9be

View File

@@ -130,8 +130,6 @@ class WebDavClient:
base_path = urllib.parse.unquote(urllib.parse.urlparse(url).path).rstrip("/") base_path = urllib.parse.unquote(urllib.parse.urlparse(url).path).rstrip("/")
current: dict[str, object] | None = None current: dict[str, object] | None = None
children: list[dict[str, object]] = [] children: list[dict[str, object]] = []
for response in root.findall(f"{{{DAV}}}response") if False else []:
pass
try: try:
root = ET.fromstring(payload) root = ET.fromstring(payload)
except ET.ParseError as error: except ET.ParseError as error: