rdio api added to config.

This commit is contained in:
Fletcher Boyd 2013-09-05 16:09:27 +08:00
parent b6e9b175db
commit f12066df0a
2 changed files with 6 additions and 4 deletions

View file

@ -4,9 +4,9 @@ import re
from util import hook
import oauth2 as oauth
CONSUMER_KEY = "KEY"
CONSUMER_SECRET = "SECRET"
bot.config.get("api_keys")
CONSUMER_KEY = conn.conf['api_keys'].get("rdio_key", "KEY")
CONSUMER_SECRET = conn.conf['api_keys'].get("rdio_secret", "SECRET")
def getdata(inp, types):