This commit is contained in:
j 2012-05-30 00:26:31 +02:00
parent 11c604ed8a
commit 8bb3652f5a

View file

@ -422,7 +422,7 @@ class Stream(models.Model):
derivative.video.name = os.path.join(os.path.dirname(self.video.name), name)
derivative.encode()
derivative.save()
else if rebuild or not derivative.available:
elif rebuild or not derivative.available:
derivative.encode()
return True