diff --git a/工具v2/database_tools.py b/工具v2/database_tools.py index 6934bcb0..0dc45720 100644 --- a/工具v2/database_tools.py +++ b/工具v2/database_tools.py @@ -1319,7 +1319,7 @@ def GenerateSingleLessonNote(id,notesdict,metadict,templatepath,outputfilepath,c outputdir,filename = os.path.split(outputfilepath) if XeLaTeXCompile(outputdir,filename): print("编译成功") - return 0 # 返回0 + return latex_data # 返回0 else: print("编译失败") return latex_data # 返回有错误的latex源代码