Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

settings local import in python #5

Open
robomotic opened this issue Oct 28, 2011 · 0 comments
Open

settings local import in python #5

robomotic opened this issue Oct 28, 2011 · 0 comments

Comments

@robomotic
Copy link

I did a quick fix for my python version 2.6 in settings.py.

load current dir config file

try:
#from settings_local import *
from locale import *
except ImportError:
import sys
sys.stderr.write('Unable to read settings_local.py\n')

Why I'm using python 2.6 because it's on my Chumby Hacker Board.
May help somebody.
Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant