diff --git a/pomodoro_to_harvest.py b/pomodoro_to_harvest.py index fed5c67..4344778 100644 --- a/pomodoro_to_harvest.py +++ b/pomodoro_to_harvest.py @@ -157,7 +157,7 @@ for preferred, alternatives in compound_project_tasks.items(): timelog.loc[timelog.project.str.lower().isin(alternatives), "project"] = preferred # 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. +# 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['project'].str.split(' — ', 1).str[0], timelog['project']))