fix missing self. in prints of Settings __repr__
This commit is contained in:
@@ -15,7 +15,7 @@ class Settings(db.Model):
|
|||||||
storage_path = db.Column(db.String)
|
storage_path = db.Column(db.String)
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return f"<id: {id}, import_path: {import_path}, storage_path: {storage_path}>"
|
return f"<id: {self.id}, import_path: {self.import_path}, storage_path: {self.storage_path}>"
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Helper class that inherits a .dump() method to turn class Settings into json / useful in jinja2
|
# Helper class that inherits a .dump() method to turn class Settings into json / useful in jinja2
|
||||||
|
|||||||
Reference in New Issue
Block a user