def _render(self, filename):
        try:
            return render_to_string('event/%s/%s' % (self.event.type, filename), self.event.context)
        except TemplateDoesNotExist:
            raise Exception('Template %s not found for event %s' % (filename, self.event.type))
dataset/ETHPy150Open gunnery/gunnery/gunnery/event/dispatcher.py/EventHandler._render/original