mirror of
https://github.com/fergalmoran/dss.api.git
synced 2026-01-03 07:05:23 +00:00
Fixed images in mix model
This commit is contained in:
@@ -167,7 +167,7 @@ class Mix(BaseModel):
|
||||
return self.get_waveform_url(waveform_type="_progress")
|
||||
|
||||
def get_image_url(self, size='200x200', default=''):
|
||||
import ipdb; ipdb.set_trace()
|
||||
#import ipdb; ipdb.set_trace()
|
||||
try:
|
||||
if self.mix_image.name and self.mix_image.storage.exists(self.mix_image.name):
|
||||
ret = get_thumbnail(self.mix_image, size, crop='center')
|
||||
|
||||
Reference in New Issue
Block a user