diff --git a/oml/item/models.py b/oml/item/models.py index 4f2a129..f250fba 100644 --- a/oml/item/models.py +++ b/oml/item/models.py @@ -304,7 +304,7 @@ class Item(db.Model): self.update(modified) self.save() if 'cover' in record: - self.update_icons() + self.update_cover() user = state.user() if record and user in self.users: Changelog.record_ts(user, modified, 'edititem', self.id, record) @@ -358,7 +358,7 @@ class Item(db.Model): if record and user in self.users: Changelog.record_ts(user, self.modified, 'edititem', self.id, record) if 'cover' in record: - self.update_icons() + self.update_cover() def extract_preview(self): path = self.get_path()