From 72f57ff70d066a1e2ea997b640bb15ba92ba9e0b Mon Sep 17 00:00:00 2001 From: "E.S. Rosenberg a.k.a. Keeper of the Keys" Date: Wed, 25 Sep 2024 00:07:38 +0300 Subject: [PATCH] podcast is not defined in most cases since an exception happened while it was being initialized --- common/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/main.py b/common/main.py index d6f0d6e..56498f5 100644 --- a/common/main.py +++ b/common/main.py @@ -266,7 +266,7 @@ def show_loading(): try: podcast = self.core.model.load_podcast(url, create=True) except Exception as e: - pyotherside.send('core-error', 'Podcast: {}\nFeed URL: {}\nload_podcast error: {}'.format(podcast.title, podcast.url, str(e))) + pyotherside.send('core-error', 'Feed URL: {}\nload_podcast error: {}'.format(url, str(e))) pyotherside.send('podcast-list-changed') return false