def add_resource(self, data):
		"""Add binary resource

		:param string data: Binary Data
		"""
		data = gntp.shim.b(data)
		identifier = hashlib.md5(data).hexdigest()
		self.resources[identifier] = data
		return 'x-growl-resource://%s' % identifier
dataset/ETHPy150Open CouchPotato/CouchPotatoServer/libs/gntp/core.py/_GNTPBase.add_resource/original