keypair bugfix

This commit is contained in:
Éloi Rivard 2021-10-29 15:32:38 +02:00
parent 7b7edc81cb
commit 2aac2a0c6a

View file

@ -56,7 +56,7 @@ def create_app(config=None):
"Either create conf/config.toml or set the 'CONFIG' variable environment."
)
if not os.environ.get("FLASK_ENV") == "development":
if os.environ.get("FLASK_ENV") == "development":
canaille.configuration.setup_dev_keypair(app.config)
canaille.configuration.validate(app.config)