Commit 6945ed72 by Sébastien Eustace

Fix installation script for Python <=3.5

parent 4fbd6ec8
...@@ -121,7 +121,7 @@ class Installer: ...@@ -121,7 +121,7 @@ class Installer:
def run(self): def run(self):
print(colorize('info', 'Retrieving metadata')) print(colorize('info', 'Retrieving metadata'))
with urlopen(self.METADATA_URL) as r: with urlopen(self.METADATA_URL) as r:
metadata = json.loads(r.read()) metadata = json.loads(r.read().decode())
print('') print('')
releases = sorted( releases = sorted(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment