From fe8691493c242ab956652d1fd7309792c35c150c Mon Sep 17 00:00:00 2001 From: "weiye.wang" Date: Wed, 17 Jan 2024 16:56:15 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E6=88=90=E8=AE=B2=E4=B9=89=E6=97=B6?= =?UTF-8?q?=E8=BF=94=E5=9B=9Etex=E6=BA=90=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 工具v2/database_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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源代码