From 89dd61507c1f21f144bdce412db1633c6073aee5 Mon Sep 17 00:00:00 2001 From: nathansmith117 Date: Tue, 26 Mar 2024 21:14:29 -0600 Subject: Still trying to get this to work --- src/view/app.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/view') diff --git a/src/view/app.py b/src/view/app.py index 4d4d400..c1b04e0 100644 --- a/src/view/app.py +++ b/src/view/app.py @@ -135,19 +135,19 @@ class YouloadApp(App): self.download_status.text = "Download complete" except FileExistsError as e: self.download_status.text = "Folder already exists" - self.downloads_display.text = repr(e) - self.downloads_display.text += "\n" + traceback.format_exc() + self.downloads_display.text = repr(e) + "\n" + traceback.format_exc() + print(self.downloads_display.text) except KeyError as e: self.download_status.text = "Error getting playlist" - self.downloads_display.text = repr(e) - self.downloads_display.text += "\n" + traceback.format_exc() + self.downloads_display.text = repr(e) + "\n" + traceback.format_exc() + print(self.downloads_display.text) except AttributeError as e: self.download_status.text = "Download type not supported" - self.downloads_display.text = repr(e) - self.downloads_display.text += "\n" + traceback.format_exc() + self.downloads_display.text = repr(e) + "\n" + traceback.format_exc() + print(self.downloads_display.text) except Exception as e: - self.downloads_display.text = repr(e) - self.downloads_display.text += "\n" + traceback.format_exc() + self.downloads_display.text = repr(e) + "\n" + traceback.format_exc() + print(self.downloads_display.text) self.submit.text = "Download" self.is_downloading = False -- cgit v1.2.3