read_write mode before check mandatory variables

This commit is contained in:
egarette@silique.fr 2024-08-06 14:34:53 +02:00
parent 9ca4820027
commit c5d67cfd61

View file

@ -72,6 +72,7 @@ class RougailOutputExporter:
self.errors.append(f' - {option.description()}') self.errors.append(f' - {option.description()}')
def exporter(self) -> bool: def exporter(self) -> bool:
self.conf.property.read_write()
self.mandatory() self.mandatory()
if self.read_write: if self.read_write:
self.conf.property.read_write() self.conf.property.read_write()