add read_todos to print call

This commit is contained in:
samerbam 2023-08-24 14:36:44 -04:00
parent ba7e8f24af
commit e6bc1c1b38

View File

@ -144,7 +144,8 @@ def print_todos(action: PrintAction, auth_result: str = Security(auth.verify)):
printer.print_sudoku()
if action.action == "todos":
printer.print_todos()
todos = data.read_todos(action.date)
printer.print_todos(todos)
if action.action == "wordsearch":
printer.print_wordsearch()