stream might have been removed
This commit is contained in:
parent
032b843bac
commit
b18a6ab3ca
1 changed files with 6 additions and 2 deletions
|
@ -814,8 +814,12 @@ class Stream(models.Model):
|
||||||
|
|
||||||
# file could have been moved while encoding
|
# file could have been moved while encoding
|
||||||
# get current version from db and update
|
# get current version from db and update
|
||||||
self.refresh_from_db()
|
try:
|
||||||
self.update_status(ok, error)
|
self.refresh_from_db()
|
||||||
|
except archive.models.DoesNotExist:
|
||||||
|
pass
|
||||||
|
else:
|
||||||
|
self.update_status(ok, error)
|
||||||
|
|
||||||
def get_index(self):
|
def get_index(self):
|
||||||
index = 1
|
index = 1
|
||||||
|
|
Loading…
Reference in a new issue