Skip to content

Commit 6af173e

Browse files
Fix typos & small issues uncovered during testing
1 parent 81aca78 commit 6af173e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def edit_task():
106106
task_list.update_task(task["id"], title, description)
107107

108108
print("\nUpdated Task:")
109-
updated_task = task_list.get_task(task.id)
109+
updated_task = task_list.get_task(task["id"])
110110
print_task(updated_task)
111111

112112

@@ -130,7 +130,7 @@ def change_task_complete_status(status):
130130
task_list.mark_incomplete(task["id"])
131131

132132
print(f"\nTask marked {status_text}:")
133-
updated_task = task_list.get_task(task.id)
133+
updated_task = task_list.get_task(task["id"])
134134
print_task(updated_task)
135135

136136

0 commit comments

Comments
 (0)