draft metadata

This commit is contained in:
Guilhem Fauré 2023-04-24 16:26:07 +02:00
parent c19c057755
commit 2dbf9c4e58

View File

@ -27,7 +27,7 @@ class metadata:
self.caption = article.chapo # Probably unused self.caption = article.chapo # Probably unused
self.ps = article.ps # Probably unused self.ps = article.ps # Probably unused
self.publicationDate = article.date self.publicationDate = article.date
self.draft = "false" if article.statut == "publie" else "true" self.draft = False if article.statut == "publie" else True
# self.sector = article.id_secteur # TODO join # self.sector = article.id_secteur # TODO join
self.update = article.maj self.update = article.maj
# self.export = article.export # USELESS # self.export = article.export # USELESS