Skip to content

Commit

Permalink
Adjusted calendar SVG retrieval to work on Python 3, too.
Browse files Browse the repository at this point in the history
  • Loading branch information
homeworkprod committed Jun 5, 2016
1 parent 603c7f3 commit 6aa5272
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitfiti.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def get_calendar(username, base_url):
print(e)
raise SystemExit

return page.readlines()
return page.read().decode('utf-8').splitlines()


def find_max_commits(calendar):
Expand Down

0 comments on commit 6aa5272

Please sign in to comment.