Pārlūkot izejas kodu

Fix bug in scraping podcasts

Colin Powell 2 gadi atpakaļ
vecāks
revīzija
fd23928922
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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: