From 2de8525bab38b30ee63eda370f2e29ca27d062f7 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 24 Jul 2013 18:56:56 +0200 Subject: [PATCH] use project and report summary only once Signed-off-by: Nico Schottelius --- lib/ctt/report.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/ctt/report.py b/lib/ctt/report.py index 83c6842..ca55273 100755 --- a/lib/ctt/report.py +++ b/lib/ctt/report.py @@ -63,7 +63,7 @@ class Report(object): projects=ctt.listprojects.ListProjects.list_projects() else: - projects=[args.projects[0]] + projects=[args.project[0]] total_time = 0 for project in projects: @@ -148,7 +148,6 @@ class Report(object): def report(self): self.header() self.list_entries() - self.summary(self.total_time) def header(self): print("Report for %s between %s and %s" %