'Saves the given torrent into the torrent_store database.
:param infohash: the given infohash binary
:param data: the torrent file data'

def save_collected_torrent(self, infohash, data):

    if (not self.config.get_torrent_store_enabled()):
        raise OperationNotEnabledByConfigurationException('torrent_store    is    not    enabled')
    self.lm.torrent_store.put(hexlify(infohash), data)
