tools (common/uri): fix missing f for f-string.

This commit is contained in:
Goffi 2025-10-10 17:44:04 +02:00
commit 8c35f015f1

View file

@ -116,6 +116,6 @@ def build_xmpp_uri(type_: Optional[str] = None, **kwargs: str) -> str:
uri.append("?")
add_pairs(uri, kwargs)
else:
raise NotImplementedError("{type_} URI are not handled yet".format(type_=type_))
raise NotImplementedError(f"{type_} URI are not handled yet".format(type_=type_))
return "".join(uri)