Skip to content
This repository was archived by the owner on Nov 10, 2025. It is now read-only.

Commit 39a570d

Browse files
committed
bug fixes.
1 parent 6b7f5f0 commit 39a570d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

bin/mtodo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
"""
33
.Simple TODO Software.
44

src/interface.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def refresh(self, window, win_width=DEFAULT_WIDTH):
7373
name = "todo_item_normal"
7474
if item["is_important"] == 1:
7575
name = "todo_item_important"
76-
elif item["is_done"] == 1:
76+
if item["is_done"] == 1:
7777
name = "todo_item_done"
7878

7979
if item["description"] and len(item["description"]) > int(win_width/10):
@@ -122,7 +122,7 @@ def todo_item(self, todo_id=None, title=None, description=None, is_done=None, is
122122
is_done_switch.set_value(is_done)
123123
is_done_label = widget.Label("is_done_label", "Is done")
124124
is_done_box = widget.Box("is_done_data", False)
125-
125+
126126
is_important_switch = widget.Switch("is_important")
127127
is_important_switch.set_value(is_important)
128128
is_important_label = widget.Label("is_important_label", "Is Important")

0 commit comments

Comments
 (0)