Something is very wrong with your indentation
Closed this issue · 1 comments
ThiefMaster commented
e.g. https://github.com/Leo-g/Flask-Scaffold/blob/master/app/users/models.py#L37
def session_commit ():
try:
db.session.commit()
except SQLAlchemyError as e:
db.session.rollback()
reason=str(e)
return reason
LeoJavaAI commented
Its not complete yet, I will ensure it pep8 before release