changeset 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 86e57108bd50
children d78eff6b4487
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	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: