From 6aa52725a604ae6802424849be3dfc10c7ee8b88 Mon Sep 17 00:00:00 2001 From: Jochen Kupperschmidt Date: Mon, 6 Jun 2016 01:07:04 +0200 Subject: [PATCH] Adjusted calendar SVG retrieval to work on Python 3, too. --- gitfiti.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitfiti.py b/gitfiti.py index 9129cce59..ac1afcdb5 100755 --- a/gitfiti.py +++ b/gitfiti.py @@ -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):