mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-09 09:26:55 +08:00
fix(download): follow single-word module policy
This commit is contained in:
@@ -14,7 +14,7 @@ from app.api.response import (
|
|||||||
)
|
)
|
||||||
from app.application.configuration import get_configured_system_config
|
from app.application.configuration import get_configured_system_config
|
||||||
from app.application.directory import DirectoryHelper
|
from app.application.directory import DirectoryHelper
|
||||||
from app.application.download.source_organization import organize_existing_source
|
from app.application.download.organization import organize_existing_source
|
||||||
from app.application.download.tasks import DownloadTaskMutationService
|
from app.application.download.tasks import DownloadTaskMutationService
|
||||||
from app.application.security.url import SecurityUtils
|
from app.application.security.url import SecurityUtils
|
||||||
from app.application.site.query import (
|
from app.application.site.query import (
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ with patch.dict(
|
|||||||
):
|
):
|
||||||
spec = importlib.util.spec_from_file_location(
|
spec = importlib.util.spec_from_file_location(
|
||||||
"source_organization",
|
"source_organization",
|
||||||
Path(__file__).parent.parent / "app/application/download/source_organization.py",
|
Path(__file__).parent.parent / "app/application/download/organization.py",
|
||||||
)
|
)
|
||||||
organization = importlib.util.module_from_spec(spec)
|
organization = importlib.util.module_from_spec(spec)
|
||||||
spec.loader.exec_module(organization)
|
spec.loader.exec_module(organization)
|
||||||
|
|||||||
Reference in New Issue
Block a user