Skip to content

Commit

Permalink
Load env instead of creating the app
Browse files Browse the repository at this point in the history
  • Loading branch information
tino097 committed Aug 24, 2018
1 parent f525ba9 commit 7cfba2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/lib/flask_cli.py
Expand Up @@ -75,7 +75,7 @@ def run(config, host, port, reloader):
def initdb(config, init):
'''Initialising the database'''
conf = _load_config(config)
# app = make_app(conf.global_conf, **conf.local_conf)
load_environment(conf.global_conf, conf.local_conf)
try:
import ckan.model as model
model.repo.init_db()
Expand Down

0 comments on commit 7cfba2b

Please sign in to comment.