cli (uri/build): fix call to uri.build_xmpp_uri.

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

View file

@ -66,7 +66,9 @@ class Build(base.CommandBase):
async def start(self):
fields = dict(self.args.fields) if self.args.fields else {}
self.disp(uri.build_xmpp_uri(self.args.type, path=self.args.path, **fields))
self.disp(
uri.build_xmpp_uri(self.args.type or None, path=self.args.path, **fields)
)
self.host.quit()