diff --git a/whisper_local/tray/_download_progress.py b/whisper_local/tray/_download_progress.py index d129ccb..1ff4cff 100644 --- a/whisper_local/tray/_download_progress.py +++ b/whisper_local/tray/_download_progress.py @@ -121,10 +121,11 @@ def load_model_with_progress( root.after(50, poll) root.mainloop() - root.destroy() if error[0] is not None: + root.destroy() messagebox.showerror("Fehler beim Modell-Download", str(error[0])) sys.exit(1) + root.destroy() return result[0]