Commit 525e8fbb authored by Darko Poljak's avatar Darko Poljak

Report project name as file path basename.

parent a6d48be4
......@@ -159,8 +159,9 @@ class Report(object):
self.list_entries()
def header(self):
project_name = os.path.basename(self.project)
print("Report for %s between %s and %s" %
(self.project, self.start_date, self.end_date))
(project_name, self.start_date, self.end_date))
@staticmethod
def summary(total_time):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment