diff options
Diffstat (limited to 'src/view')
-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 |