jp (blog/set): fixed use of --item argument
This commit is contained in:
parent
655416f115
commit
6ec0f5a506
1 changed files with 2 additions and 0 deletions
|
|
@ -183,6 +183,8 @@ class Set(base.CommandBase, BlogPublishCommon):
|
|||
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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue