def save_current_config(self, analysis_context, destination_file): """ Save the current live config into a file. @param analysis_context the analysis context of the AMiner. @param destination_file the path to the file in which the config is saved. """ msg = AMinerConfig.save_config(analysis_context, destination_file) self.REMOTE_CONTROL_RESPONSE = msg logging.getLogger(AMinerConfig.DEBUG_LOG_NAME).info(msg)
def save_current_config(self, analysis_context, destination_file): self.REMOTE_CONTROL_RESPONSE = AMinerConfig.save_config(analysis_context, destination_file)