Skip to content

Commit

Permalink
Merge pull request #1315 from Harry67Hu/master
Browse files Browse the repository at this point in the history
fix MacOS-zip bug
  • Loading branch information
binary-husky authored Nov 22, 2023
2 parents c7a0a5f + 7754215 commit 71537b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crazy_functions/Latex输出PDF结果.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ def move_project(project_folder, arxiv_id=None):

# align subfolder if there is a folder wrapper
items = glob.glob(pj(project_folder,'*'))
items = [item for item in items if os.path.basename(item)!='__MACOSX']
if len(glob.glob(pj(project_folder,'*.tex'))) == 0 and len(items) == 1:
if os.path.isdir(items[0]): project_folder = items[0]

Expand Down Expand Up @@ -214,7 +215,6 @@ def Latex英文纠错加PDF对比(txt, llm_kwargs, plugin_kwargs, chatbot, histo
# <-------------- we are done ------------->
return success


# ========================================= 插件主程序2 =====================================================

@CatchException
Expand Down

0 comments on commit 71537b5

Please sign in to comment.