jp (file/upload): fixed exception when no jid is specified

This commit is contained in:
Goffi 2019-11-08 11:47:42 +01:00
commit 7f66a2f154

View file

@ -472,7 +472,7 @@ class Upload(base.CommandBase):
self.host.quit(C.EXIT_BAD_ARG)
if self.args.jid is None:
self.full_dest_jid = None
self.full_dest_jid = ""
else:
self.full_dest_jid = await self.host.get_full_jid(self.args.jid)