Fix: ALTCHA secret key not found.

This commit is contained in:
2025-03-15 18:34:13 +00:00
parent 90cf9eaee7
commit 1a7b72022d
3 changed files with 3 additions and 10 deletions

7
app.py
View File

@@ -48,13 +48,6 @@ app.config.from_object(app_config) # for db init with required keys
app.app_config = app_config
# app.config["config"] = app_config()
print('sql vars')
print(app.config['DB_PASSWORD'])
print(app.config['DB_USER'])
print(app.config['SQLALCHEMY_DATABASE_URI'])
print(app.config['SECRET_KEY'])
print(os.getenv('KEY_SECRET_FLASK'))
# logging
handler = RotatingFileHandler('app.log', maxBytes=10000, backupCount=3)
handler.setLevel(logging.DEBUG)