Mercurial > libervia-backend
changeset 2876:84f82d014d06
jp (blog/set): fixed use of --item argument
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 25 Mar 2019 18:40:10 +0100 |
parents | f07b6fd8aac3 |
children | f8427bf8c072 |
files | sat_frontends/jp/cmd_blog.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/sat_frontends/jp/cmd_blog.py Mon Mar 25 18:40:08 2019 +0100 +++ b/sat_frontends/jp/cmd_blog.py Mon Mar 25 18:40:10 2019 +0100 @@ -183,6 +183,8 @@ self.pubsub_item = self.args.item mb_data = {} self.setMbDataFromArgs(mb_data) + if self.pubsub_item is not None: + mb_data["id"] = self.pubsub_item content = codecs.getreader("utf-8")(sys.stdin).read() self.setMbDataContent(content, mb_data)