client secret can be the flask secrety key

This commit is contained in:
Jeremy Zhang 2017-01-16 15:06:11 -08:00
parent cd9e21fa87
commit 24e69f9fea

2
app.py
View File

@ -4,7 +4,7 @@ import requests
import json import json
app = Flask(__name__) app = Flask(__name__)
app.secret_key = "doafkjgasfjk" app.secret_key = config['client-secret']
_DISCORD_API_BASE = "https://discordapp.com/api/v6" _DISCORD_API_BASE = "https://discordapp.com/api/v6"