Fix nexus copy dir: course-note -> course-notes

This commit is contained in:
2026-09-19 11:16:57 +08:00
parent 467bc620a9
commit 22abd0a7e2

View File

@@ -44,7 +44,7 @@ metadata:
# 2. nexus knowledgebase 目录
import os, shutil
nexus_dir = os.path.expanduser('~/Workspace/nexus/knowledgebase/course-note')
nexus_dir = os.path.expanduser('~/Workspace/nexus/knowledgebase/course-notes')
os.makedirs(nexus_dir, exist_ok=True)
nexus_path = os.path.join(nexus_dir, os.path.basename(output_path))
shutil.copy2(output_path, nexus_path)