Report project name as file path basename.

This commit is contained in:
Darko Poljak 2016-04-02 21:18:42 +02:00
parent a6d48be4aa
commit 525e8fbb93

View file

@ -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):