Skip to content

Commit ddd150d

Browse files
committed
typo
1 parent 82925bc commit ddd150d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/kaggle/api/kaggle_api_extended.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2782,9 +2782,9 @@ def kernels_output(self, kernel, path, force=False, quiet=True):
27822782

27832783
outfiles = []
27842784
for item in response.files:
2785-
outfile = os.path.join(target_dir, item['fileName'])
2785+
outfile = os.path.join(target_dir, item.file_name)
27862786
outfiles.append(outfile)
2787-
download_response = requests.get(item['url'], stream=True)
2787+
download_response = requests.get(item.url, stream=True)
27882788
if force or self.download_needed(download_response, outfile, quiet):
27892789
os.makedirs(os.path.split(outfile)[0], exist_ok=True)
27902790
with open(outfile, 'wb') as out:

0 commit comments

Comments
 (0)