Fix project root since script was moved

This commit is contained in:
Isaac Slavitt 2016-04-29 14:14:47 -04:00
parent 7f10cfe3c8
commit b86cae7431
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ if __name__ == '__main__':
log_fmt = '%(asctime)s - %(name)s - %(levelname)s - %(message)s'
logging.basicConfig(level=logging.INFO, format=log_fmt)
project_dir = os.path.join(os.path.dirname(__file__), os.pardir)
project_dir = os.path.join(os.path.dirname(__file__), os.pardir, os.pardir)
dotenv_path = os.path.join(project_dir, '.env')
dotenv.load_dotenv(dotenv_path)