forked from 0x2620/pandora
use .save not .update
This commit is contained in:
parent
bc43fc4f8a
commit
f0acbd2bef
1 changed files with 3 additions and 1 deletions
|
@ -92,7 +92,9 @@ def process_stream(fileId):
|
||||||
models.File.objects.filter(id=fileId).update(encoding=True)
|
models.File.objects.filter(id=fileId).update(encoding=True)
|
||||||
stream.make_timeline()
|
stream.make_timeline()
|
||||||
stream.extract_derivatives()
|
stream.extract_derivatives()
|
||||||
models.File.objects.filter(id=fileId).update(encoding=False)
|
file = models.File.objects.get(id=fileId)
|
||||||
|
file.encoding = False
|
||||||
|
file.save()
|
||||||
file.item.update_selected()
|
file.item.update_selected()
|
||||||
if not file.item.rendered:
|
if not file.item.rendered:
|
||||||
file.item.update_timeline()
|
file.item.update_timeline()
|
||||||
|
|
Loading…
Reference in a new issue