reset failed state on reupload

This commit is contained in:
j 2014-03-02 10:32:35 +01:00
parent 1068a462d2
commit 93cd998fcf

View file

@ -269,6 +269,7 @@ def firefogg_upload(request):
f.streams.all().delete()
f.delete_frames()
f.uploading = True
f.failed = False
f.save()
if f.item.rendered and f.selected:
Item.objects.filter(id=f.item.id).update(rendered=False)