javascript: add default value for js generate ini option
This commit is contained in:
parent
7bcafe31fd
commit
fa69408b87
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ def load_environment(global_conf, app_conf, initial=False,
|
|||
|
||||
config['routes.map'] = make_map(config)
|
||||
|
||||
if asbool(config['generate_js_files']):
|
||||
if asbool(config.get('generate_js_files', 'false')):
|
||||
jsroutes = config['routes.map'].jsroutes()
|
||||
jsroutes_file_content = generate_jsroutes_content(jsroutes)
|
||||
jsroutes_file_path = os.path.join(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue