From 6dc9091911394ef9ab8516301943242a610516cd Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 24 Feb 2014 13:46:47 +0530 Subject: [PATCH] ... --- setup/linux-installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/linux-installer.py b/setup/linux-installer.py index 33aa2229ba..4825c799ad 100644 --- a/setup/linux-installer.py +++ b/setup/linux-installer.py @@ -311,7 +311,7 @@ def download_tarball(): os.remove(dest) try: with open(cached_sigf, 'wb') as f: - f.write(bytes(signature)) + f.write(signature.encode('utf-8')) except IOError as e: if e.errno != errno.EACCES: raise