Skip to content

Commit 46131a0

Browse files
committed
Fix backward compatibility for earthpy data subsets
1 parent 497cb74 commit 46131a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

earthpy/io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ def _download(self, url, path, kind, replace, verbose):
353353
output_path : str
354354
Path to the downloaded file.
355355
"""
356-
path = self.project.project_dir / path
356+
path = self.path / path
357357
if replace is False and path.exists():
358358
return path
359359

0 commit comments

Comments
 (0)