Files
twitterboard/twiderboard/data.py
Julien Lengrand-Lambert 01e128f494 Adds a new column to tweets in db : invalid
Will be used to set problematic as crawled and try to correct them later on. This avoids having to process them over and over.

I might have to think about a better way to perform database updates if I do it often.
2013-01-10 10:35:41 +01:00

24 lines
671 B
Python

"""
Contains all needed information for application to work
and that has to be spread over modules.
"""
# Go to http://dev.twitter.com and create an app.
# The consumer key and secret will be generated for you after
# After the step above, you will be redirected to your app's page.
# Create an access token under the the "Your access token" section
import os
debug = False # True
root = '/home/jll/Documents/code/twitterboard/'
#root = '/home/test/Documents/twiderboard'
#root = '/home/airballman/Documents/twiderboard/twitterboard/'
# TODO: do that correctly
engine_url = 'sqlite:///twiderboard.db'
log_name = 'board.log'
log_path = os.path.join(root, log_name)