Created
October 24, 2015 11:55
-
-
Save ErDmKo/5f786d0e4239bb4818dc to your computer and use it in GitHub Desktop.
__init__.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
PATH = os.path.realpath(os.path.dirname(__file__)) | |
if os.environ.get('PYTHONPATH'): | |
from .heroku import * | |
elif os.path.exists(os.path.join(PATH, 'local.py')): | |
from .local import * | |
else: | |
from .base import * |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment