]> khamidou — GitHub mirrors - electron.git/commitdiff
Merge branch 'appveyor_setup' of https://github.com/deepak1556/atom-shell into deepak...
authorCheng Zhao <zcbenz@gmail.com>
Thu, 7 Aug 2014 14:27:38 +0000 (22:27 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 7 Aug 2014 14:31:48 +0000 (22:31 +0800)
Conflicts:
script/lib/util.py

1  2 
script/lib/util.py

index c78ca213e199462baa7e3673c84301c186acbca8,f5238660dc8d579d16aefee623484799b57a59a4..17595742edb5856f2af0cf694b13442836cb0924
@@@ -30,8 -30,7 +30,8 @@@ def scoped_cwd(path)
  
  
  def download(text, url, path):
-   with open(path, 'w') as local_file:
 +  safe_mkdir(os.path.dirname(path))
+   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