changeset 1923:e28c6c4dffa5

jp (blog): avoid conflict error when command line tags are already present in metadata
author Goffi <goffi@goffi.org>
date Tue, 22 Mar 2016 23:33:31 +0100 (2016-03-22)
parents c78c92a0336b
children 70b1a29e1338
files frontends/src/jp/cmd_blog.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/frontends/src/jp/cmd_blog.py	Tue Mar 22 22:49:00 2016 +0100
+++ b/frontends/src/jp/cmd_blog.py	Tue Mar 22 23:33:31 2016 +0100
@@ -236,7 +236,7 @@
         # 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