Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 20 lines (17 sloc) 0.554 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
import tornado.escape
from lib.bg import BG

try:
    config = tornado.escape.json_decode(open('keys.json').read())
except Exception, e:
    raise e

cookie_secret=config['keys']['cookie_secret']
twitter_consumer_key=config['keys']['twitter_consumer_key']
twitter_consumer_secret=config['keys']['twitter_consumer_secret']

settings = dict(
    login_url="/auth/login",
    template_path="templates",
    cookie_secret=cookie_secret,
    twitter_consumer_key=twitter_consumer_key,
    twitter_consumer_secret=twitter_consumer_secret,
    debug=True,
    )
Something went wrong with that request. Please try again.