Use relative package imports

This commit is contained in:
2025-11-30 22:35:39 -05:00
parent 3411d1886a
commit 6a6667c3d6
2 changed files with 4 additions and 3 deletions

View File

@@ -4,7 +4,8 @@ from textual.widgets import Checkbox, Input, Header, Footer
from base64_random import gen_random_base64
from todo import Todo
from .todo import Todo
from .todomanager import TodoManager
class NewTodo(Input):
def on_input_submitted(self, event: Input.Submitted) -> None:

View File

@@ -1,8 +1,8 @@
import sys
from os import path
from todo import Todo
from slimdownparser import parse_todo
from .todo import Todo
from .slimdownparser import parse_todo
class TodoManager:
filename = "todo.md"