Skip to content

Commit

Permalink
Fix prob w/using w/o SQLAlchemy (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
joelburton authored Apr 25, 2024
1 parent bf21647 commit a63f640
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/flask_debugtoolbar/panels/sqlalchemy.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
except ImportError:
sqlalchemy_available = False
get_recorded_queries = SQLAlchemy = None
debug_enables_record_queries = False
else:
try:
from flask_sqlalchemy.record_queries import get_recorded_queries
Expand Down

0 comments on commit a63f640

Please sign in to comment.