fixed 90 degree image rotation bug

This commit is contained in:
Eric Romano
2013-05-09 14:20:39 -04:00
parent 1456cee951
commit f02cf4f55b

View File

@ -136,8 +136,8 @@ def date_gen(start_date, offset=0):
def values_in_date_order(image, multiplier=1): def values_in_date_order(image, multiplier=1):
height = 7 height = 7
width = len(image[0]) 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 yield image[h][w]*multiplier
def commit(content, commitdate): def commit(content, commitdate):