From 7f66a2f154c2755c400e52dc0d94b7037b6b4737 Mon Sep 17 00:00:00 2001 From: Goffi Date: Fri, 8 Nov 2019 11:47:42 +0100 Subject: [PATCH] jp (file/upload): fixed exception when no jid is specified --- sat_frontends/jp/cmd_file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sat_frontends/jp/cmd_file.py b/sat_frontends/jp/cmd_file.py index 80fb79eb..d5bc5934 100644 --- a/sat_frontends/jp/cmd_file.py +++ b/sat_frontends/jp/cmd_file.py @@ -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)