forked from 0x2620/pandora
reset failed state on reupload
This commit is contained in:
parent
1068a462d2
commit
93cd998fcf
1 changed files with 1 additions and 0 deletions
|
@ -269,6 +269,7 @@ def firefogg_upload(request):
|
||||||
f.streams.all().delete()
|
f.streams.all().delete()
|
||||||
f.delete_frames()
|
f.delete_frames()
|
||||||
f.uploading = True
|
f.uploading = True
|
||||||
|
f.failed = False
|
||||||
f.save()
|
f.save()
|
||||||
if f.item.rendered and f.selected:
|
if f.item.rendered and f.selected:
|
||||||
Item.objects.filter(id=f.item.id).update(rendered=False)
|
Item.objects.filter(id=f.item.id).update(rendered=False)
|
||||||
|
|
Loading…
Reference in a new issue