summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-01-15 15:25:40 +0100
committerschneefux <schneefux+commit@schneefux.xyz>2017-01-15 15:25:40 +0100
commit946c41d73f1b56b1a677bc66ba0debee5a6245f5 (patch)
tree5bc833138998824280af7365987bdf7d3a3a9fe0
parent3d76eccf4e558f8d06583e30932afcaff91749cd (diff)
downloadpython-gamelocker-946c41d73f1b56b1a677bc66ba0debee5a6245f5.tar.gz
python-gamelocker-946c41d73f1b56b1a677bc66ba0debee5a6245f5.zip
initialize secret key in uwsgi
-rw-r--r--examples/dashboard/app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/dashboard/app.py b/examples/dashboard/app.py
index 8d798fa..0934da8 100644
--- a/examples/dashboard/app.py
+++ b/examples/dashboard/app.py
@@ -10,6 +10,7 @@ import ads
import config
app = Flask(__name__)
+app.secret_key = config.secret_key
cache = SimpleCache()
@@ -75,5 +76,4 @@ def data():
return render_template("stats.js", stats=data)
if __name__ == "__main__":
- app.secret_key = config.secret_key
app.run(debug=config.debug)