From 0840442c2ac13559d59636fcc6c271a9e8c317b1 Mon Sep 17 00:00:00 2001 From: Goffi Date: Fri, 25 May 2018 10:52:01 +0200 Subject: [PATCH] jp (file/share/list): fixed default value for jid --- 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 ff3fb070..8df011a2 100644 --- a/sat_frontends/jp/cmd_file.py +++ b/sat_frontends/jp/cmd_file.py @@ -380,7 +380,7 @@ class ShareList(base.CommandBase): def add_parser_options(self): self.parser.add_argument("-d", "--path", default=u'', help=_(u"path to the directory containing the files")) - self.parser.add_argument("jid", type=base.unicode_decoder, nargs='?', help=_("jid of sharing entity (nothing to check our own jid)")) + self.parser.add_argument("jid", type=base.unicode_decoder, nargs='?', default='', help=_("jid of sharing entity (nothing to check our own jid)")) def file_gen(self, files_data): for file_data in files_data: