diff options
author | nathansmith117 <thenathansmithsmith@gmail.com> | 2024-03-27 03:14:29 +0000 |
---|---|---|
committer | nathansmith117 <thenathansmithsmith@gmail.com> | 2024-03-27 03:14:29 +0000 |
commit | 89dd61507c1f21f144bdce412db1633c6073aee5 (patch) | |
tree | c2cf9a2901156751e799b0eeec834014494415dd /src/view/app.py | |
parent | 35c99e438ad753afa258c1341f9db957a6037467 (diff) | |
download | youload-89dd61507c1f21f144bdce412db1633c6073aee5.tar.gz youload-89dd61507c1f21f144bdce412db1633c6073aee5.tar.bz2 youload-89dd61507c1f21f144bdce412db1633c6073aee5.zip |
Still trying to get this to work
Diffstat (limited to 'src/view/app.py')
-rw-r--r-- | src/view/app.py | 16 |
1 files changed, 8 insertions, 8 deletions
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 |