fix(download): follow single-word module policy

This commit is contained in:
yanjunpu
2026-09-07 15:56:20 +08:00
parent 9a74802d2b
commit 471c624aee
3 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ from app.api.response import (
)
from app.application.configuration import get_configured_system_config
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.security.url import SecurityUtils
from app.application.site.query import (
+1 -1
View File
@@ -54,7 +54,7 @@ with patch.dict(
):
spec = importlib.util.spec_from_file_location(
"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)
spec.loader.exec_module(organization)