added a newline to avoid problems in interpreter

This commit is contained in:
eclipse 2025-05-07 18:18:44 +02:00
parent 7b9d99cc4e
commit 78de6afa0a

View File

@ -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)