From b86cae7431d2f0f2adac4d2f3dcf5cc744341b46 Mon Sep 17 00:00:00 2001 From: Isaac Slavitt Date: Fri, 29 Apr 2016 14:14:47 -0400 Subject: [PATCH] Fix project root since script was moved --- {{ cookiecutter.repo_name }}/src/data/make_dataset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{ cookiecutter.repo_name }}/src/data/make_dataset.py b/{{ cookiecutter.repo_name }}/src/data/make_dataset.py index 8edfcd0..66e3192 100644 --- a/{{ cookiecutter.repo_name }}/src/data/make_dataset.py +++ b/{{ cookiecutter.repo_name }}/src/data/make_dataset.py @@ -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)