[odrs-web] Try harder to set the secret key
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [odrs-web] Try harder to set the secret key
- Date: Tue, 27 Sep 2016 11:31:02 +0000 (UTC)
commit 5802d4b0c4e7cec7363693cac1e0730fe5ccf2d5
Author: Richard Hughes <richard hughsie com>
Date: Mon Sep 26 14:39:50 2016 +0100
Try harder to set the secret key
flaskapp.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/flaskapp.py b/flaskapp.py
index 3b1334e..626b221 100755
--- a/flaskapp.py
+++ b/flaskapp.py
@@ -15,8 +15,8 @@ from database import ReviewsDatabase, CursorError
from user import OdrsUser
app = Flask(__name__)
-app.secret_key = os.environ['ODRS_REVIEWS_SECRET']
app.config.from_object(__name__)
+app.secret_key = os.environ['ODRS_REVIEWS_SECRET']
app.register_blueprint(api10, url_prefix='/1.0/reviews')
app.register_blueprint(admin, url_prefix='/admin')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]