# call for the timer pomodoro.timer(minutes=pomodoro_time) # Rest timer pomodoro.timer(mode="rest") # Ask for satisfaction satisfaction = input("Type how well was your pomodoro. 1=Good - 2=Bad: ") # Add the pomodoro to the database pomodoro.add_pomodoro(pomodoro_time, category_id, project_id, satisfaction) conn.commit() # Next step decision = pomodoro.next_decision() if decision == 1: continue elif decision == 2: pomodoro.end_project(project_id) conn.commit() elif decision == 3: pomodoro.cancel_project(project_id) conn.commit() else: break conn.commit() conn.close() print("---ENDING PROGRAM---")