From f02cf4f55b1d755b4204ab7ac0d26d7888c8932c Mon Sep 17 00:00:00 2001 From: Eric Romano Date: Thu, 9 May 2013 14:20:39 -0400 Subject: [PATCH] fixed 90 degree image rotation bug --- gitfiti.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gitfiti.py b/gitfiti.py index 82cc9e41c..4a3eee626 100644 --- a/gitfiti.py +++ b/gitfiti.py @@ -136,8 +136,8 @@ def date_gen(start_date, offset=0): def values_in_date_order(image, multiplier=1): height = 7 width = len(image[0]) - for h in range(height): - for w in range(width): + for w in range(width): + for h in range(height): yield image[h][w]*multiplier def commit(content, commitdate):