cli (uri/build): fix call to uri.build_xmpp_uri.
This commit is contained in:
parent
1b3593d95b
commit
fcb76a7dde
1 changed files with 3 additions and 1 deletions
|
|
@ -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()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue