Skip to content

Commit ae7fa9f

Browse files
committed
backwards compatibility for io.HOME
1 parent 46131a0 commit ae7fa9f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

earthpy/io.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
from .config import DEFAULT_DATA_HOME, DATA_URLS, FIGSHARE_API_URL, DVCIGNORE
1717

1818
ALLOWED_FILE_TYPES = ["file", "tar", "tar.gz", "zip"]
19+
20+
# Backward compatibility for old datasets
21+
HOME = DEFAULT_DATA_HOME
1922

2023
class Data(object):
2124
"""

0 commit comments

Comments
 (0)