Bugfix: report prints multiple rows.
This commit is contained in:
parent
2cf503abac
commit
f72db34875
1 changed files with 6 additions and 6 deletions
|
@ -113,16 +113,16 @@ class Report(object):
|
|||
summary_report = {}
|
||||
for project in reports:
|
||||
report, report_data = reports[project]
|
||||
for time in report_data:
|
||||
if summary:
|
||||
if summary:
|
||||
for time in report_data:
|
||||
if not time in summary_report:
|
||||
summary_report[time] = report_data[time]
|
||||
else:
|
||||
summary_report[time].extend(report_data[time])
|
||||
else:
|
||||
report.header()
|
||||
Report.print_report_time_entries(report_data,
|
||||
output_format, summary)
|
||||
else:
|
||||
report.header()
|
||||
Report.print_report_time_entries(report_data,
|
||||
output_format, summary)
|
||||
if summary:
|
||||
Report.print_report_time_entries(summary_report,
|
||||
output_format, summary)
|
||||
|
|
Loading…
Reference in a new issue