fix python3 install
This commit is contained in:
parent
c6c8e0dc8a
commit
ee12580bcb
1 changed files with 1 additions and 1 deletions
2
install
2
install
|
@ -89,7 +89,7 @@ class Install(Thread):
|
|||
if dirname and not os.path.exists(dirname):
|
||||
os.makedirs(dirname)
|
||||
print(filename)
|
||||
with open(filename, 'w') as f:
|
||||
with open(filename, 'wb') as f:
|
||||
with closing(urlopen(url)) as u:
|
||||
size = int(u.headers.get('content-length', 0))
|
||||
self.status['size'] = size
|
||||
|
|
Loading…
Reference in a new issue