def save_all_matches(last_file_path): latest_match = PyLogsTF.latest_match() parallel_save(0, latest_match) set_last_match_saved(last_file_path, latest_match)
def run(last_file_path): last_match_saved = get_last_match_saved(last_file_path) latest_match = PyLogsTF.latest_match() save_new_matches(last_match_saved, latest_match, save_to_disk.save_match) set_last_match_saved(last_file_path, latest_match)