Skip to content

Commit

Permalink
fixed 90 degree image rotation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gelstudios committed May 9, 2013
1 parent 1456cee commit f02cf4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gitfiti.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit f02cf4f

Please sign in to comment.