Przeglądaj źródła

Fix bug in scraping podcasts

Colin Powell 2 lat temu
rodzic
commit
fd23928922
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      vrobbler/apps/podcasts/models.py

+ 1 - 1
vrobbler/apps/podcasts/models.py

@@ -40,7 +40,7 @@ class Podcast(TimeStampedModel):
 
     def scrape_google_podcasts(self, force=False):
         podcast_dict = {}
-        if not self.cover or force:
+        if not self.cover_image or force:
             podcast_dict = scrape_data_from_google_podcasts(self.name)
             if podcast_dict:
                 if not self.producer: