forked from 0x2620/pandora
fix upload
This commit is contained in:
parent
498213f222
commit
251cc12d38
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ def extract_stream(fileId):
|
||||||
format=config['formats'][0])
|
format=config['formats'][0])
|
||||||
if created:
|
if created:
|
||||||
models.File.objects.filter(id=fileId).update(encoding=True)
|
models.File.objects.filter(id=fileId).update(encoding=True)
|
||||||
stream.video.name = stream.path(stream.name())
|
stream.media.name = stream.path(stream.name())
|
||||||
stream.encode()
|
stream.encode()
|
||||||
if stream.available:
|
if stream.available:
|
||||||
stream.make_timeline()
|
stream.make_timeline()
|
||||||
|
|
Loading…
Reference in a new issue