fix: invalid Python 2 except syntax in AcoustID client
Docker Build & Publish / build (push) Has been cancelled
Docker Build & Publish / push (push) Has been cancelled
Docker Build & Publish / Prune old image versions (push) Has been cancelled

The except clause used the Python 2 multi-exception syntax, which is
a SyntaxError under Python 3.14 and broke import of this module.
This commit is contained in:
Senko-san
2026-06-14 01:01:33 +03:00
parent 63c7d05eca
commit 636820afb8
+1 -1
View File
@@ -78,7 +78,7 @@ class AcoustIdHttpClient:
) )
resp.raise_for_status() resp.raise_for_status()
return resp.json() # type: ignore[no-any-return] return resp.json() # type: ignore[no-any-return]
except httpx.HTTPError, ValueError: except (httpx.HTTPError, ValueError):
log.warning("acoustid_lookup_failed") log.warning("acoustid_lookup_failed")
return None return None