From 3c519a87230712dab78b8bf87e27c749af674cef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Melan=C3=A7on?= Date: Mon, 2 May 2022 12:15:10 -0400 Subject: [PATCH] Fix typo in comment --- pomodoro_to_harvest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']))