From 78de6afa0a6eafe79155ba4e58d57310a37b25a5 Mon Sep 17 00:00:00 2001 From: eclipse Date: Wed, 7 May 2025 18:18:44 +0200 Subject: [PATCH] added a newline to avoid problems in interpreter --- utils/format_dates.py | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/format_dates.py b/utils/format_dates.py index 1510108..45e0977 100755 --- a/utils/format_dates.py +++ b/utils/format_dates.py @@ -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)