diff options
author | 2018-02-03 17:05:48 +0000 | |
---|---|---|
committer | 2018-02-03 17:05:48 +0000 | |
commit | abd9d32fc46b23ebee0f851070c44823f0c9f025 (patch) | |
tree | 5a77a9b6854d22d41d358461a82b8f8f65ed8963 /app.py | |
parent | Update webhook URL (diff) | |
parent | adds readme (diff) |
Merge branch 'master' of github.com:discord-python/webpage
Diffstat (limited to '')
-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__': |