fix(processor): add fallback to absolute imports in status_display.py

This commit is contained in:
pacnpal
2024-11-17 22:59:02 +00:00
parent d6f6800399
commit c944d4d2e1

View File

@@ -18,7 +18,12 @@ from typing import (
)
import discord # type: ignore
try:
# Try relative imports first
from ..utils.exceptions import DisplayError
except ImportError:
# Fall back to absolute imports if relative imports fail
from videoarchiver.utils.exceptions import DisplayError
logger = logging.getLogger("VideoArchiver")