changeset 3068:e189ceca7e8b

jp (file/upload): fixed exception when no jid is specified
author Goffi <goffi@goffi.org>
date Fri, 08 Nov 2019 11:47:42 +0100
parents e7c4d961b321
children 73db9db8b9e1
files sat_frontends/jp/cmd_file.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sat_frontends/jp/cmd_file.py	Wed Oct 30 19:49:43 2019 +0100
+++ b/sat_frontends/jp/cmd_file.py	Fri Nov 08 11:47:42 2019 +0100
@@ -472,7 +472,7 @@
             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)