Skip to content

Commit

Permalink
Changed the name API_KEY -> USER_ID
Browse files Browse the repository at this point in the history
Just a silly mistake.
  • Loading branch information
jmuk committed Dec 12, 2011
1 parent 1c8c098 commit 857d465
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config.py
@@ -1,3 +1,3 @@
CLIENT_KEY = ''
USER_ID = ''
CLIENT_SECRET = ''
SERVER_ROOT = 'http://www.jmuk.org'
4 changes: 2 additions & 2 deletions main.py
@@ -1,7 +1,7 @@
# coding: utf-8

from flask import Flask, redirect, render_template, abort
from config import CLIENT_KEY, CLIENT_SECRET, SERVER_ROOT
from config import USER_ID, CLIENT_SECRET, SERVER_ROOT
from posts import processPost
from storage import Storage
from fetcher import Fetcher
Expand All @@ -11,7 +11,7 @@
app = Flask(__name__)

storage = Storage()
fetcher = Fetcher(CLIENT_KEY, CLIENT_SECRET, storage)
fetcher = Fetcher(USER_ID, CLIENT_SECRET, storage)

@app.route('/')
def main():
Expand Down

0 comments on commit 857d465

Please sign in to comment.