diff sat_frontends/jp/cmd_file.py @ 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 fee60f17ebac
children e75024e41f81
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)