From ee12580bcbb9655f08e014885f765db301d7dab2 Mon Sep 17 00:00:00 2001 From: j Date: Fri, 31 Oct 2014 18:11:03 +0100 Subject: [PATCH] fix python3 install --- install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install b/install index 68a1ac8..f1befb6 100755 --- a/install +++ b/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