Skip to content

Commit 433aba3

Browse files
John Kleinschmidtcodebytere
authored andcommitted
Fix AttributeError: 'dict' object has no attribute 'required' (electron#12307)
(cherry picked from commit 71c3483)
1 parent bd33e71 commit 433aba3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

script/upload-node-checksums.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ def download_files(url, files):
6464
directory = tempfile.mkdtemp(prefix='electron-tmp')
6565
result = []
6666
for optional_f in files:
67-
required = optional_f.required
68-
f = optional_f.filename
67+
required = optional_f['required']
68+
f = optional_f['filename']
6969
try:
7070
result.append(download(f, url + f, os.path.join(directory, f)))
7171
except Exception:

0 commit comments

Comments
 (0)