We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3d6ca1 commit 1861ad4Copy full SHA for 1861ad4
1 file changed
afsapi/api.py
@@ -222,7 +222,7 @@ async def __call(
222
raise FSApiException(
223
f"Unexpected result {result.status}: {await result.text()}"
224
)
225
- doc = ET.fromstring(await result.text(encoding="utf-8"))
+ doc = ET.fromstring(await result.text(encoding="utf-8", errors="replace"))
226
status = unpack_xml(doc, "status")
227
228
if status == "FS_OK" or status == "FS_LIST_END":
0 commit comments