fix wrong output on printing Refimg
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user