From 5dda9f6857a763901ffb85249e171ab0514ee3e5 Mon Sep 17 00:00:00 2001 From: Goffi Date: Wed, 10 Apr 2019 22:15:29 +0200 Subject: [PATCH] jp (common): `publish` is now a boolean --- sat_frontends/jp/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sat_frontends/jp/common.py b/sat_frontends/jp/common.py index 97b58806..4023ea50 100644 --- a/sat_frontends/jp/common.py +++ b/sat_frontends/jp/common.py @@ -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(