Skip to content

Commit bff301a

Browse files
authored
Update io.py
1 parent 131dee4 commit bff301a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

earthpy/io.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ def get_data(self,
183183
for ext in ALLOWED_FILE_TYPES:
184184
if fname.endswith(ext):
185185
file_type = ext
186+
fname = fname.replace('.'+ext, "")
186187
this_data.append((data_url, fname, file_type))
187188

188189
if url is not None:

0 commit comments

Comments
 (0)