Throw in a couple working prompts, no variables yet

This commit is contained in:
benjamin melançon 2020-07-05 13:26:38 -04:00
parent 7690a2b098
commit 3d2e85f2be

View file

@ -10,14 +10,21 @@ SHORT_MIN = 5
LONG_MIN = 15 LONG_MIN = 15
def pomodoro_prompt_plan(whatdid = ''):
whatnext = zenipy.zenipy.entry(text="What're you gonna do?", placeholder='Same thing i did last time', title='Pomodoro Prompt: Plan')
def pomodoro_prompt_report(whatnext):
whatdid = zenipy.zenipy.entry(text="What'd you do?", placeholder='What i said i would do', title='Pomodoro Prompt: Report')
def main(): def main():
timelog = Path('timelog.csv') whatnext = pomodoro_prompt_plan()
timelog.touch(exist_ok=True)
with timelog.open('r+') as f: # timelog = Path('timelog.csv')
pp = PomodoroPrompt(timelog=f) # timelog.touch(exist_ok=True)
# with timelog.open('r+') as f:
# pp = PomodoroPrompt(timelog=f)
if __name__ == '__main__': if __name__ == '__main__':
main() main()