dont loop

This commit is contained in:
j 2014-05-20 00:59:02 +02:00
parent f4f0554635
commit 2c5fe9db09

View file

@ -270,6 +270,7 @@ class Item(db.Model):
db.session.commit()
def update_meta(self, data):
if data != self.meta:
self.meta = data
self.update()
self.modified = datetime.now()