From a8dbafd21e51f31d68197d50727d69091b80e3fb Mon Sep 17 00:00:00 2001 From: Ruben van Staveren Date: Thu, 10 Mar 2022 11:53:31 +0100 Subject: [PATCH] Let it work without config.py, as we configure it through the test --- jail2ban/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jail2ban/__init__.py b/jail2ban/__init__.py index a13d378..9d43d7f 100644 --- a/jail2ban/__init__.py +++ b/jail2ban/__init__.py @@ -31,7 +31,7 @@ def create_app(config=None): if config is None: # load the instance config, if it exists, when not testing - app.config.from_pyfile('config.py', silent=False) + app.config.from_pyfile('config.py', silent=True) else: # load the test config if passed in app.config.from_pyfile(config, silent=True)