fixed imports

This commit is contained in:
2024-06-18 01:26:11 +02:00
parent e0872808d8
commit c2ebd2daf4
3 changed files with 8 additions and 7 deletions

View File

@@ -15,11 +15,12 @@ from rich.text import Text
from typing_extensions import Annotated from typing_extensions import Annotated
import typer import typer
from things2reclaim import reclaim_handler
from things2reclaim import things_handler import reclaim_handler
from things2reclaim import toggl_handler import things_handler
from things2reclaim import utils import toggl_handler
from things2reclaim.database_handler import UploadedTasksDB import utils
from database_handler import UploadedTasksDB
CONFIG_PATH = Path("config/.things2reclaim.toml") CONFIG_PATH = Path("config/.things2reclaim.toml")

View File

@@ -4,7 +4,7 @@ import tomllib
import things import things
from things2reclaim.database_handler import UploadedTasksDB from database_handler import UploadedTasksDB
_config = {} _config = {}
CONFIG_PATH = Path("config/.things2reclaim.toml") CONFIG_PATH = Path("config/.things2reclaim.toml")

View File

@@ -6,7 +6,7 @@ import difflib
from better_rich_prompts.prompt import ListPrompt from better_rich_prompts.prompt import ListPrompt
from rich import print as rprint from rich import print as rprint
from things2reclaim import things_handler import things_handler
TIME_PATTERN = ( TIME_PATTERN = (
r"((\d+\.?\d*) (hours|hrs|hour|hr|h))? ?((\d+\.?\d*) (mins|min|minutes|minute|m))?" r"((\d+\.?\d*) (hours|hrs|hour|hr|h))? ?((\d+\.?\d*) (mins|min|minutes|minute|m))?"