missing imports and typos

This commit is contained in:
j 2024-04-05 21:20:45 +01:00
commit 774450d263
12 changed files with 49 additions and 30 deletions

View file

@ -832,7 +832,7 @@ class Stream(models.Model):
# get current version from db and update
try:
self.refresh_from_db()
except archive.models.DoesNotExist:
except Stream.DoesNotExist:
pass
else:
self.update_status(ok, error)