mirror of
https://github.com/Terranom674/Piwigo_Bratonien_Tools.git
synced 2026-09-19 18:44:30 +00:00
0.9.7.1: clean pinned WebDAV resolver implementation
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user