Skip to content

Commit

Permalink
Workaround for bad path setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
paultag committed Jan 9, 2015
1 parent 5508bdc commit 90794c7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions billy_settings.py
Expand Up @@ -2,6 +2,12 @@

from os.path import abspath, dirname, join

import sys
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
# This shims around folks that have openstates/ on virtualenv's .pth, but
# not the root. This throws openstates.utils off, and isn't worth fiddling
# that much with.

SCRAPER_PATHS=[os.path.join(os.getcwd(), 'openstates')]
MONGO_HOST = 'localhost'
MONGO_PORT = 27017
Expand Down

0 comments on commit 90794c7

Please sign in to comment.