Fix nexus copy dir: course-note -> course-notes
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user