allow config dictionary as argument to make_config; disable CRLs for scripts

This commit is contained in:
dandds
2019-01-18 09:44:31 -05:00
parent 6e6b5948b1
commit 80f633f457
4 changed files with 8 additions and 4 deletions

View File

@@ -153,7 +153,7 @@ def remove_sample_data(all_users=False):
if __name__ == "__main__":
config = make_config()
config = make_config({"DISABLE_CRL_CHECK": True})
app = make_app(config)
with app.app_context():
remove_sample_data()