Skip to content

Commit 88e87cd

Browse files
authored
fix typo
1 parent 36a332e commit 88e87cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

earthpy/io.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,13 +177,13 @@ def get_data(self,
177177
)
178178
urls = self._get_figshare_download_urls(article_id)
179179
this_data = []
180-
for name, url in urls.items():
180+
for fname, url in urls.items():
181181
# Determine filetype using file name extension
182182
file_type = "file"
183183
for ext in ALLOWED_FILE_TYPES:
184184
if fname.endswith(ext):
185185
file_type = ext
186-
this_data.append((url, name, file_type))
186+
this_data.append((url, fname, file_type))
187187

188188
if url is not None:
189189
with requests.head(url) as r:

0 commit comments

Comments
 (0)