fix wrong output on printing Refimg

This commit is contained in:
2021-01-15 15:33:30 +11:00
parent 665096f97d
commit 7d03413e60

View File

@@ -15,7 +15,7 @@ class Refimg(db.Model):
fname = db.Column(db.String(256), unique=True, nullable=False)
def __repr__(self):
return "<tag: {}, fname: {}>".format(self.id, self.fname )
return "<id: {}, fname: {}>".format(self.id, self.fname )
################################################################################
# Helper class that inherits a .dump() method to turn class Refimg into json / useful in jinja2