also update clips after import

This commit is contained in:
j 2011-12-30 15:04:43 +05:30
parent de419b7d25
commit e26812bf5d

View file

@ -55,3 +55,8 @@ class Command(BaseCommand):
s.file.item.update_timeline() s.file.item.update_timeline()
#make sure all derivatives exist #make sure all derivatives exist
s.extract_derivatives() s.extract_derivatives()
#update clips
for c in s.file.item.clips.all():
c.update_calculated_values()
c.save()