only user selected streams, update stream once chunk upload is done

This commit is contained in:
j 2013-03-24 20:57:38 +00:00
commit 8f7a2094cd
2 changed files with 2 additions and 0 deletions

View file

@ -266,6 +266,7 @@ class File(models.Model):
f.write(chunk.read())
if done:
stream.available = True
stream.info = {}
stream.save()
return True
return False