Fix import resolution for direct execution

This commit is contained in:
2026-08-14 19:21:52 +05:00
parent 41722c0ffc
commit de8501045f
9 changed files with 60 additions and 30 deletions
+4 -2
View File
@@ -9,8 +9,10 @@ from dataclasses import dataclass
from pathlib import Path
from typing import Any, Optional, Set
import aiohttp
from loguru import logger
from .config import settings
try:
from .config import settings
except (ImportError, ValueError):
from config import settings
# Global registry of paths currently being written / downloaded / processed