aboutsummaryrefslogtreecommitdiffstats
path: root/app.py
diff options
context:
space:
mode:
authorGravatar JoeBanks13 <[email protected]>2018-02-04 17:26:20 +0000
committerGravatar JoeBanks13 <[email protected]>2018-02-04 17:26:20 +0000
commitf6c6e277d88ec612c6300d8cb8f65c792a2efa05 (patch)
treed306851a1125d68fd39f14934fe456473342bbb8 /app.py
parentRemove vulture, isort & yapf (diff)
Change names
Diffstat (limited to 'app.py')
-rw-r--r--app.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/app.py b/app.py
index 1e762b5e..fe3bed31 100644
--- a/app.py
+++ b/app.py
@@ -8,15 +8,15 @@ from flask import Flask, redirect
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():
+def index():
return "Robots are taking over. doot."
@app.route("/invite")
-def _invite():
+def invite():
return redirect("https://invite.pythondiscord.com/")
if __name__ == '__main__':