mirror of
https://github.com/fergalmoran/dss.git
synced 2026-01-01 06:28:39 +00:00
Fixed invalid mix listing with dodgy image URL
This commit is contained in:
@@ -89,6 +89,8 @@ class Mix(_BaseModel):
|
||||
social_image = self._get_social_image()
|
||||
if social_image:
|
||||
return social_image
|
||||
except Exception:
|
||||
self.logger.error("Error getting thumbmail")
|
||||
|
||||
return super(Mix, self).get_image_url(self.mix_image, settings.STATIC_URL + 'img/default-track.png')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user