Fix comment on relatorio version
This commit is contained in:
1 parent
2f0ca8f784
commit
7a5ec69bf8
1 file changed
+1
-1
@@ -297,7 +297,7 @@ class Report(object):
|
||||
rel_report = relatorio.reporting.Report(path, 'application/vnd.oasis.opendocument.text',
|
||||
ReportFactory(), relatorio.reporting.MIMETemplateLoader())
|
||||
rel_report.filters.insert(0, translator)
|
||||
#Test compatibility with old relatorio version <= 0.2.0
|
||||
#Test compatibility with old relatorio version <= 0.3.0
|
||||
if len(inspect.getargspec(rel_report.__call__)[0]) == 2:
|
||||
data = rel_report(objects, **localcontext).render().getvalue()
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user