mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
specify mode for windows
This commit is contained in:
@@ -30,7 +30,7 @@ def scoped_cwd(path):
|
||||
|
||||
|
||||
def download(text, url, path):
|
||||
with open(path, 'w') as local_file:
|
||||
with open(path, 'wb') as local_file:
|
||||
web_file = urllib2.urlopen(url)
|
||||
file_size = int(web_file.info().getheaders("Content-Length")[0])
|
||||
downloaded_size = 0
|
||||
|
||||
Reference in New Issue
Block a user