Merge branch 'appveyor_setup' of https://github.com/deepak1556/atom-shell into deepak1556-appveyor_setup
Conflicts: script/lib/util.py
This commit is contained in:
commit
8eb650ce03
2 changed files with 30 additions and 1 deletions
|
@ -31,7 +31,7 @@ def scoped_cwd(path):
|
|||
|
||||
def download(text, url, path):
|
||||
safe_mkdir(os.path.dirname(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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue