This commit is contained in:
nose
2025-12-11 23:21:45 -08:00
parent 16d8a763cd
commit e2ffcab030
44 changed files with 3558 additions and 1793 deletions

View File

@@ -111,7 +111,7 @@ def create_metadata_sidecar(file_path: Path, metadata: dict) -> None:
raise RuntimeError(f"Failed to write metadata sidecar {metadata_path}: {exc}") from exc
def create_tags_sidecar(file_path: Path, tags: set) -> None:
"""Create a .tags sidecar file with tags (one per line).
"""Create a .tag sidecar file with tags (one per line).
Args:
file_path: Path to the exported file
@@ -120,7 +120,7 @@ def create_tags_sidecar(file_path: Path, tags: set) -> None:
if not tags:
return
tags_path = file_path.with_suffix(file_path.suffix + '.tags')
tags_path = file_path.with_suffix(file_path.suffix + '.tag')
try:
with open(tags_path, 'w', encoding='utf-8') as f:
for tag in sorted(tags):