Let it work without config.py, as we configure it through the test
This commit is contained in:
		| @ -31,7 +31,7 @@ def create_app(config=None): | |||||||
|  |  | ||||||
|     if config is None: |     if config is None: | ||||||
|         # load the instance config, if it exists, when not testing |         # 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: |     else: | ||||||
|         # load the test config if passed in |         # load the test config if passed in | ||||||
|         app.config.from_pyfile(config, silent=True) |         app.config.from_pyfile(config, silent=True) | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user