From d27e181c40f5c4348d96a69136beb92b43b41680 Mon Sep 17 00:00:00 2001 From: Ian Burgwin Date: Tue, 9 Feb 2021 00:01:59 -0800 Subject: [PATCH] ci-gui: show error reason for cdn titles --- ci-gui.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ci-gui.py b/ci-gui.py index c7b72a1..0f298d7 100644 --- a/ci-gui.py +++ b/ci-gui.py @@ -339,7 +339,9 @@ class CustomInstallGUI(ttk.Frame): initialdir=file_parent) if d: if isfile(join(d, 'tmd')): - self.add_cia(d) + success, reason = self.add_cia(d) + if not success: + self.show_error(f"Couldn't add {basename(d)}: {reason}") else: self.show_error('tmd file not found in the CDN directory:\n' + d)