Fix another reversed debug logic
This commit is contained in:
parent
aff12ffaf2
commit
8002ddedea
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ for preferred, alternatives in replacement_project_names.items():
|
||||||
# The fillna is essential or we drop entries with blank ('None') projects.
|
# 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()
|
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)
|
tl.to_csv('harvest-ready.csv', index=False)
|
||||||
settings.pomodoro_latest_recorded(tl.recorded.max())
|
settings.pomodoro_latest_recorded(tl.recorded.max())
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue