|
|
@ -280,9 +280,9 @@ def identify_web_template(key, defweb, wdir): |
|
|
|
|
|
|
|
def check_template_scheme(color, web_dir): |
|
|
|
""" Check existence of color-scheme """ |
|
|
|
if color and os.path.exists(os.path.join(web_dir, 'static/stylesheets/colorschemes/' + color + '.css')): |
|
|
|
if color and os.path.exists(os.path.join(web_dir, 'static', 'stylesheets', 'colorschemes', color + '.css')): |
|
|
|
return color |
|
|
|
elif color and os.path.exists(os.path.join(web_dir, 'static/stylesheets/colorschemes/' + color)): |
|
|
|
elif color and os.path.exists(os.path.join(web_dir, 'static', 'stylesheets', 'colorschemes', color)): |
|
|
|
return color |
|
|
|
else: |
|
|
|
return '' |
|
|
|