Skip to content

Commit

Permalink
Fix AttributeError: 'dict' object has no attribute 'required' (#12307)
Browse files Browse the repository at this point in the history
(cherry picked from commit 71c3483)
  • Loading branch information
John Kleinschmidt authored and codebytere committed Mar 16, 2018
1 parent bd33e71 commit 433aba3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/upload-node-checksums.py
Expand Up @@ -64,8 +64,8 @@ def download_files(url, files):
directory = tempfile.mkdtemp(prefix='electron-tmp')
result = []
for optional_f in files:
required = optional_f.required
f = optional_f.filename
required = optional_f['required']
f = optional_f['filename']
try:
result.append(download(f, url + f, os.path.join(directory, f)))
except Exception:
Expand Down

0 comments on commit 433aba3

Please sign in to comment.