added a newline to avoid problems in interpreter
This commit is contained in:
parent
7b9d99cc4e
commit
78de6afa0a
@ -16,6 +16,7 @@ if os.getenv("SQLALCHEMY_DATABASE_DIALECT") == "sqlite":
|
||||
app.config['SQLALCHEMY_DATABASE_URI'] = "sqlite:///" + os.path.abspath(app.root_path + "/..") + "/" + os.getenv("SQLALCHEMY_DATABASE_SQLITE_FILENAME")
|
||||
else:
|
||||
exit("no SQLite database URI given; exiting")
|
||||
|
||||
db = SQLAlchemy()
|
||||
db.init_app(app)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user