forked from Github-Mirrors/canaille
keypair bugfix
This commit is contained in:
parent
7b7edc81cb
commit
2aac2a0c6a
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ def create_app(config=None):
|
||||||
"Either create conf/config.toml or set the 'CONFIG' variable environment."
|
"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.setup_dev_keypair(app.config)
|
||||||
|
|
||||||
canaille.configuration.validate(app.config)
|
canaille.configuration.validate(app.config)
|
||||||
|
|
Loading…
Reference in a new issue