def CheckColor(color, web_dir):
 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)))):
  return color
 else:
  return ''

def CheckColor ( color , web_dir ) : 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 ) ) ) ) : return color else : return ''
check existence of color-scheme .