jp (common): publish is now a boolean
This commit is contained in:
parent
4a0d1701fc
commit
5dda9f6857
1 changed files with 1 additions and 1 deletions
|
|
@ -270,7 +270,7 @@ class BaseEdit(object):
|
|||
)
|
||||
self.host.quit(C.EXIT_DATA_ERROR)
|
||||
|
||||
if self.use_metadata and not C.bool(metadata.get("publish", "true")):
|
||||
if self.use_metadata and not metadata.get("publish", True):
|
||||
self.disp(
|
||||
u'Publication blocked by "publish" key in metadata, cancelling edition.\n\n'
|
||||
+ "temporary file path:\t{content_path}\nmetadata file path:\t{meta_path}".format(
|
||||
|
|
|
|||
Loading…
Reference in a new issue