diff --git a/pomodoro_to_harvest.py b/pomodoro_to_harvest.py index a1ebfc4..f85e97f 100644 --- a/pomodoro_to_harvest.py +++ b/pomodoro_to_harvest.py @@ -150,7 +150,7 @@ for preferred, alternatives in replacement_project_names.items(): # If a compound project was specified, break that out into a sub-project (in # Harvest, we use Task, which is really task type, for this. timelog['subproject'] = (np.where(timelog['project'].str.contains(': '), timelog['project'].str.split(': ', 1).str[1], None)) -timelog['project'] = (np.where(timelog['project'].str.contains(': '), timelog['description'].str.split(': ', 1).str[0], timelog['description'])) +timelog['project'] = (np.where(timelog['project'].str.contains(': '), timelog['description'].str.split(': ', 1).str[0], timelog['project'])) # Condense duplicate entries by date, summing the minutes spent, and listing # the first started and last recorded times for each task.