diff --git a/.vscode/settings.json b/.vscode/settings.json index 39b75c7..51f5b89 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -12,6 +12,6 @@ "pylint_flask_sqlalchemy", "pylint_flask", "--disable", - "bare-except,invalid-name" + "bare-except,invalid-name,invalid-sequence-index" ] } \ No newline at end of file diff --git a/config.py b/config.py index db1566a..9ced987 100644 --- a/config.py +++ b/config.py @@ -7,6 +7,7 @@ RPI = True ClientInterface = "wlan0" # wlan1 access point + class Config(object): SECRET_KEY = os.environ.get("SECRET_KEY") or "dfsads1!FASASF231(*&FADSs" SQLALCHEMY_DATABASE_URI = os.environ.get("DATABASE_URL") or "sqlite:///" + os.path.join(basedir, "app.db")