Skip to content

Commit b86cae7

Browse files
committed
Fix project root since script was moved
1 parent 7f10cfe commit b86cae7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

{{ cookiecutter.repo_name }}/src/data/make_dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def main(input_filepath, output_filepath):
1717
log_fmt = '%(asctime)s - %(name)s - %(levelname)s - %(message)s'
1818
logging.basicConfig(level=logging.INFO, format=log_fmt)
1919

20-
project_dir = os.path.join(os.path.dirname(__file__), os.pardir)
20+
project_dir = os.path.join(os.path.dirname(__file__), os.pardir, os.pardir)
2121
dotenv_path = os.path.join(project_dir, '.env')
2222
dotenv.load_dotenv(dotenv_path)
2323

0 commit comments

Comments
 (0)