Skip to content

Commit

Permalink
更新 tchMaterial-parser.pyw
Browse files Browse the repository at this point in the history
  • Loading branch information
wuziqian211 authored Oct 2, 2024
1 parent 300d9d0 commit 10f712c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tchMaterial-parser.pyw
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def download_file(url, save_path): # 下载文件

failed_urls = [state["download_url"] for state in download_states if state["failed"]]
if len(failed_urls) > 0:
messagebox.showwarning("下载完成", f"文件已下载到:{os.path.dirname(save_path)}\n以下链接下载失败:\n{failed_urls}")
messagebox.showwarning("下载完成", f"文件已下载到:{os.path.dirname(save_path)}\n以下链接下载失败:\n{"\n".join(failed_urls)}")
else:
messagebox.showinfo("下载完成", f"文件已下载到:{os.path.dirname(save_path)}") # 显示完成对话框

Expand Down

0 comments on commit 10f712c

Please sign in to comment.