diff --git a/pomodoro_to_harvest.py b/pomodoro_to_harvest.py index 34259eb..fb9a9b6 100644 --- a/pomodoro_to_harvest.py +++ b/pomodoro_to_harvest.py @@ -174,4 +174,7 @@ if not debug: other.to_csv('not-harvest.csv', index=False) settings.pomodoro_latest_recorded(latest) else: + harvest_grouped = harvest.groupby("project").agg({"time": "sum"})["time"]/60 + other_grouped = other.groupby("project").agg({"time": "sum"})["time"]/60 + unknown_grouped = unknown.groupby("project").agg({"time": "sum"})["time"]/60 print("We do not write to the harvest-ready.csv nor update the latest recorded setting when run interactively in the python shell.")