From 3341e5f5f0a28fbc391f776098b8b8a448cc63bf Mon Sep 17 00:00:00 2001 From: NFL_jiancx <1678594309@qq.com> Date: Wed, 5 Feb 2025 20:52:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9B=B4=E6=96=B0=E7=BB=93?= =?UTF-8?q?=E6=9D=9F=E5=90=8E=E6=97=A0=E6=B3=95=E9=87=8D=E6=96=B0=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=B8=BB=E7=AA=97=E5=8F=A3=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NFLmusic.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/NFLmusic.py b/NFLmusic.py index 12f0e37..568c90b 100644 --- a/NFLmusic.py +++ b/NFLmusic.py @@ -683,7 +683,10 @@ def update(): run_update() download_page.destroy() root.destroy() - except: + except Exception as e: + # 重新显示窗口 + root.deiconify() + print(e) download_page.destroy() tkinter.messagebox.showerror(title=lang.get(la, "mbox.title.update_fail"), message=lang.get(la, "mbox.text.update_fail", )) @@ -1118,7 +1121,7 @@ def download_version(): copy(version_json[get_treeview_index(version_list, version_download_choice)]["password"]) -version = "4.0.4" +version = "4.0.5" poem = "" appdata = os.getenv("APPDATA") make_resource()