jp (blog): avoid conflict error when command line tags are already present in metadata
This commit is contained in:
parent
3d20c6e059
commit
9d304eec88
1 changed files with 1 additions and 1 deletions
|
|
@ -236,7 +236,7 @@ class Edit(base.CommandBase, BlogCommon):
|
|||
# and override metadata with command-line arguments
|
||||
mb_data['allow_comments'] = C.boolConst(not self.args.no_comment)
|
||||
if self.args.tag:
|
||||
data_format.iter2dict('tag', self.args.tag, mb_data)
|
||||
data_format.iter2dict('tag', self.args.tag, mb_data, check_conflict=False)
|
||||
if self.args.title is not None:
|
||||
mb_data['title'] = self.args.title
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue