Adjusted calendar SVG retrieval to work on Python 3, too.

This commit is contained in:
Jochen Kupperschmidt
2016-06-06 01:07:04 +02:00
parent 603c7f30e7
commit 6aa52725a6

View File

@ -219,7 +219,7 @@ def get_calendar(username, base_url):
print(e) print(e)
raise SystemExit raise SystemExit
return page.readlines() return page.read().decode('utf-8').splitlines()
def find_max_commits(calendar): def find_max_commits(calendar):