mirror of
https://github.com/FAUSheppy/atlantis-event-dispatcher
synced 2025-12-09 07:48:33 +01:00
fix: remove os.environ query for SQLITE location
This commit is contained in:
@@ -22,7 +22,7 @@ from sqlalchemy.sql.expression import func
|
||||
|
||||
HOST = "icinga.atlantishq.de"
|
||||
app = flask.Flask("Signal Notification Gateway")
|
||||
app.config["SQLALCHEMY_DATABASE_URI"] = os.environ["SQLITE"] or "sqlite:///sqlite.db"
|
||||
app.config["SQLALCHEMY_DATABASE_URI"] = "sqlite:///sqlite.db"
|
||||
db = SQLAlchemy(app)
|
||||
|
||||
class DispatchObject(db.Model):
|
||||
|
||||
Reference in New Issue
Block a user