diff sat_frontends/jp/cmd_file.py @ 2592:c0401a72cbb4

jp (file/share/list): fixed default value for jid
author Goffi <goffi@goffi.org>
date Fri, 25 May 2018 10:52:01 +0200
parents 26edcf3a30eb
children 56f94936df1e
line wrap: on
line diff
--- 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: