From 7761d741087436f0d07db81dced7366f77c24e0b Mon Sep 17 00:00:00 2001 From: hplattner Date: Tue, 10 Jul 2012 11:14:20 +0200 Subject: [PATCH] fix: use self.type for ReportInstance name --- expert/report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expert/report.py b/expert/report.py index 4712bde..d520c61 100644 --- a/expert/report.py +++ b/expert/report.py @@ -90,7 +90,7 @@ class ReportInstance(BaseReport): def __init__(self, context): self.context = context - self.name = context.name + self.name = self.type def getResultsRenderer(self, name, macros): return macros[name]