diff options
author | 2018-02-03 17:30:55 +0100 | |
---|---|---|
committer | 2018-02-03 17:30:55 +0100 | |
commit | 2d5dbede46a88d8a717b09722d18cb1d1922f9f9 (patch) | |
tree | 6763f8a964eaf90e3f06a3cb5b95e63b33f88021 /app.py | |
parent | Change message to test auto deploy (diff) |
Fixfixfix
Signed-off-by: martmists <[email protected]>
Diffstat (limited to 'app.py')
-rw-r--r-- | app.py | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,17 +1,19 @@ #!/usr/bin/env python3 +# Stdlib import os +# Snekchek from flask import Flask app = Flask(__name__) -app.secret_key = os.environ.get("WEBPAGE_SECRET_KEY") +app._secret_key = os.environ.get("WEBPAGE_SECRET_KEY") @app.route("/") -def index(): - return "Shrek is a good movie" +def _index(): + return "Robots are taking over" if __name__ == '__main__': |