diff --git a/pomodoro_to_harvest.py b/pomodoro_to_harvest.py index 41a0269..9fdbc15 100644 --- a/pomodoro_to_harvest.py +++ b/pomodoro_to_harvest.py @@ -173,10 +173,14 @@ hrvst = tl[tl.project.isin(harvest_project_names.keys())] other = tl[tl.project.isin(other_project_names.keys())] unknown = tl[~tl.project.isin(replacement_project_names.keys())] -harvest = hrvst.rename(columns = {'date': 'Date', 'project': 'Project', 'subproject': 'Task', 'description': 'Note'}) +harvest = hrvst.rename(columns = {'date': 'Date', 'project': 'Project', 'subproject': 'Task', 'description': 'Notes'}) harvest["Hours"] = harvest["time"]/60 harvest["First name"] = "Benjamin" harvest["Last name"] = "Melançon" +project_client_mapping = { + "": "", +} +harvest["Client"] = harvest["Project"].map(project_client_mapping) harvest.drop(columns = ['started', 'recorded', 'time'], inplace=True) if not debug: