def execute_commands(): func_out = execute_db_commands() if func_out in errors: flash('SDK Error. Message: ' + func_out, 'warning') return redirect(url_for('main.home'))
def execute_commands(): err_msg = execute_db_commands() if err_msg: flash('No Vector is Connected. Error message: ' + err_msg, 'warning') return redirect(url_for('main.home'))
def get(self): err_msg = execute_db_commands() if err_msg: return err_msg return {'Commands': 'Complete'}