mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-21 06:45:24 -06:00
remove SQLAlchemy warning
This commit is contained in:
parent
bfa6e151b1
commit
a79d0d5949
1 changed files with 1 additions and 0 deletions
|
|
@ -83,6 +83,7 @@ def create_db(myapp):
|
|||
"""
|
||||
if myapp.config['WITH_SQL']:
|
||||
from .ext.sql import db
|
||||
myapp.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
|
||||
db.init_app(myapp)
|
||||
return db
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue