From fa69408b87b3195733503294cfb679307c7ef532 Mon Sep 17 00:00:00 2001 From: Daniel Dourvaris Date: Mon, 6 Jun 2016 17:27:04 +0300 Subject: [PATCH] javascript: add default value for js generate ini option --- rhodecode/config/environment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rhodecode/config/environment.py b/rhodecode/config/environment.py index e1fa2dbf..774c83d0 100644 --- a/rhodecode/config/environment.py +++ b/rhodecode/config/environment.py @@ -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(