def METHOD_NAME(self):
    try:
        with open(self.__frequencies_path, "wb") as f:
            pickle.dump(self.link_frequencies, f)
    except OSError:
        log.warning("Failed to write widget link frequencies.")
        return