From 8002ddedeac7eac7f84e7c6d3375f17dece51ae3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Melan=C3=A7on?= Date: Sat, 29 May 2021 04:34:08 -0400 Subject: [PATCH] Fix another reversed debug logic --- 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 de931ce..de92407 100644 --- a/pomodoro_to_harvest.py +++ b/pomodoro_to_harvest.py @@ -139,7 +139,7 @@ for preferred, alternatives in replacement_project_names.items(): # The fillna is essential or we drop entries with blank ('None') projects. tl = timelog.groupby(["date", timelog.project.fillna(""), "description"]).agg({"time": 'sum', "started": 'min', "recorded": 'max'}).reset_index() -if debug: +if not debug: tl.to_csv('harvest-ready.csv', index=False) settings.pomodoro_latest_recorded(tl.recorded.max()) else: