Index: contrib/glrp.py ================================================================== --- contrib/glrp.py +++ contrib/glrp.py @@ -38,12 +38,12 @@ # Imports the CSV once and populates streams def update_categories(self): - dat = ahttp.get("http://fossil.include-once.org/streamtuner2/cat/contrib/glrp.csv.gz") - dat = gzip_decode(dat) + dat = ahttp.get("http://fossil.include-once.org/streamtuner2/cat/contrib/glrp.csv.gz", binary=1) + dat = gzip_decode(dat).decode("utf-8") self.streams = {} if dat: ls = csv.reader(dat.split("\n")) for title, url, genre, location, fav in [x for x in ls if len(x)==5]: