Merge pull request #15 from darko-poljak/report-project-basename
Report project name as file path basename.
This commit is contained in:
commit
53170402fd
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue