Skip to content

Commit 9dfc250

Browse files
committed
remove unnecessary line
1 parent 0fbe848 commit 9dfc250

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

examples/sqla/main.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,13 @@
55
from admin.data import build_sample_db
66
from flask import redirect
77
from flask import url_for
8-
from jinja2 import StrictUndefined
98

109
app_dir = op.join(op.realpath(os.path.dirname(__file__)), "admin")
1110
database_path = op.join(app_dir, app.config["DATABASE_FILE"])
1211
if not os.path.exists(database_path):
1312
with app.app_context():
1413
build_sample_db()
1514

16-
app.jinja_env.undefined = StrictUndefined
17-
1815

1916
@app.route("/")
2017
def index():

0 commit comments

Comments
 (0)