def index(): # set the config upon first load c = ConfigChanger('/ghcc_process/config/config.yaml') if not c.config_file_ok(): return redirect('/config') return redirect('/ghaudit?s=0&l=100')
def index(): # set the config upon first load c = ConfigChanger('/ghcc_process/config/config.yaml') if not c.config_file_ok(): return redirect('/config') return redirect('/ghaudit?s=0&l=100')
def edit_config(): c = ConfigChanger('/ghcc_process/config/config.yaml') if not c.config_file_ok(): config = c.get_empty_config() default_config = True else: config = c.load_config() default_config = False return render_template('config.html', config=config, default_config=default_config)
def edit_config(): c = ConfigChanger('/ghcc_process/config/config.yaml') if not c.config_file_ok(): config = c.get_empty_config() default_config = True else: config = c.load_config() default_config = False return render_template('config.html', config=config, default_config=default_config)