add read_todos to print call
This commit is contained in:
parent
ba7e8f24af
commit
e6bc1c1b38
@ -144,7 +144,8 @@ def print_todos(action: PrintAction, auth_result: str = Security(auth.verify)):
|
|||||||
printer.print_sudoku()
|
printer.print_sudoku()
|
||||||
|
|
||||||
if action.action == "todos":
|
if action.action == "todos":
|
||||||
printer.print_todos()
|
todos = data.read_todos(action.date)
|
||||||
|
printer.print_todos(todos)
|
||||||
|
|
||||||
if action.action == "wordsearch":
|
if action.action == "wordsearch":
|
||||||
printer.print_wordsearch()
|
printer.print_wordsearch()
|
||||||
|
Loading…
Reference in New Issue
Block a user