stream might have been removed

This commit is contained in:
j 2020-05-12 15:15:26 +02:00
parent 032b843bac
commit b18a6ab3ca

View file

@ -814,7 +814,11 @@ 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
try:
self.refresh_from_db() self.refresh_from_db()
except archive.models.DoesNotExist:
pass
else:
self.update_status(ok, error) self.update_status(ok, error)
def get_index(self): def get_index(self):