Skip to content

Commit

Permalink
Merge pull request #28 from panzi/patch-1
Browse files Browse the repository at this point in the history
Make compatible with python3.5
  • Loading branch information
ingwinlu committed Jan 5, 2016
2 parents f96b4ca + 620e780 commit d361945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion twitch/scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def download(baseurl, parameters={}, headers={}):
if six.PY2:
data = response.read()
else:
data = response.readall().decode('utf-8')
data = response.read().decode('utf-8')
response.close()
break
except Exception as err:
Expand Down

0 comments on commit d361945

Please sign in to comment.