Skip to content

Commit 66f790a

Browse files
committed
correct io.HOME
1 parent ae7fa9f commit 66f790a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

earthpy/io.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"""
88

99
import io
10+
import pathlib
1011
import re
1112

1213
import requests
@@ -18,7 +19,7 @@
1819
ALLOWED_FILE_TYPES = ["file", "tar", "tar.gz", "zip"]
1920

2021
# Backward compatibility for old datasets
21-
HOME = DEFAULT_DATA_HOME
22+
HOME = pathlib.Path.home()
2223

2324
class Data(object):
2425
"""

0 commit comments

Comments
 (0)