# HG changeset patch # User Goffi # Date 1527238321 -7200 # Node ID c0401a72cbb407bdda549e538e8940bad8eebea6 # Parent 86e57108bd50f4b686bce6084518d7eefa9eba49 jp (file/share/list): fixed default value for jid diff -r 86e57108bd50 -r c0401a72cbb4 sat_frontends/jp/cmd_file.py --- a/sat_frontends/jp/cmd_file.py Fri May 25 10:51:59 2018 +0200 +++ b/sat_frontends/jp/cmd_file.py Fri May 25 10:52:01 2018 +0200 @@ -380,7 +380,7 @@ 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: