Explorar o código

Fix bug in scraping podcasts

Colin Powell %!s(int64=2) %!d(string=hai) anos
pai
achega
fd23928922
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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: