fix url
This commit is contained in:
parent
e60ca119e7
commit
8e4a643fd6
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ class Content(models.Model):
|
||||||
'-i', self.photo.image.path, '-frames:v', '1', image_path
|
'-i', self.photo.image.path, '-frames:v', '1', image_path
|
||||||
]
|
]
|
||||||
subprocess.call(cmd)
|
subprocess.call(cmd)
|
||||||
return video_url
|
return self.photo.image.url.replace('.gif', '.mp4')
|
||||||
|
|
||||||
@cached_property
|
@cached_property
|
||||||
def image_url(self):
|
def image_url(self):
|
||||||
|
|
Loading…
Add table
Reference in a new issue