fix: invalid Python 2 except syntax in AcoustID client
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:
@@ -78,7 +78,7 @@ class AcoustIdHttpClient:
|
||||
)
|
||||
resp.raise_for_status()
|
||||
return resp.json() # type: ignore[no-any-return]
|
||||
except httpx.HTTPError, ValueError:
|
||||
except (httpx.HTTPError, ValueError):
|
||||
log.warning("acoustid_lookup_failed")
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user