Give ourselves the debug variables we invariably create anyhow

This commit is contained in:
benjamin melançon 2021-06-01 20:47:42 -04:00
parent 0d2fe87111
commit 5ac674bf0d

View file

@ -174,4 +174,7 @@ if not debug:
other.to_csv('not-harvest.csv', index=False) other.to_csv('not-harvest.csv', index=False)
settings.pomodoro_latest_recorded(latest) settings.pomodoro_latest_recorded(latest)
else: 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.") print("We do not write to the harvest-ready.csv nor update the latest recorded setting when run interactively in the python shell.")