Skip to content

Commit 0c2e89c

Browse files
committed
Don't assign app to self, that is not supported
1 parent f8343b2 commit 0c2e89c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

flaskext/sqlalchemy.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -533,8 +533,6 @@ def init_app(self, app):
533533
app.config.setdefault('SQLALCHEMY_POOL_TIMEOUT', None)
534534
app.config.setdefault('SQLALCHEMY_POOL_RECYCLE', None)
535535

536-
self.app = app
537-
538536
@app.after_request
539537
def shutdown_session(response):
540538
self.session.remove()

0 commit comments

Comments
 (0)