Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/features/tasks/definitions/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ async def fetch_metadata(self, full: bool = False) -> tuple[dict[str, Any] | Non
indicating if the operation was successful, and a message.

"""
from app.features.ytdlp.ytdlp import fetch_info
from app.features.ytdlp.extractor import fetch_info

if not self.url:
return ({}, False, "No URL found in task parameters.")
Expand Down Expand Up @@ -122,7 +122,7 @@ async def _mark_logic(self) -> tuple[bool, str] | dict[str, Any]:
tuple[bool, str] | dict[str, Any]: Either an error tuple or a dict with 'file' and 'items' keys.

"""
from app.features.ytdlp.ytdlp import fetch_info
from app.features.ytdlp.extractor import fetch_info

if not self.url:
return (False, "No URL found in task parameters.")
Expand Down
4 changes: 1 addition & 3 deletions app/tests/test_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,9 +395,7 @@ class TestDownloadSpawnPickling:
def setup_method(self):
EventBus._reset_singleton()

def test_spawn_pickling_ignores_local_event_listener(
self, monkeypatch: pytest.MonkeyPatch, tmp_path: Path
) -> None:
def test_spawn_pickling_ignores_local_event_listener(self, monkeypatch: pytest.MonkeyPatch, tmp_path: Path) -> None:
class Cfg:
debug = False
ytdlp_debug = False
Expand Down