more timeline names

This commit is contained in:
j 2011-10-21 20:12:09 +02:00
parent 055a2b6482
commit 624a69a89f

View file

@ -288,7 +288,8 @@ def average_color(prefix, start=0, end=0):
if end:
start = int(start * 25)
end = int(end * 25)
for image in sorted(glob("%s.%d.*.png" % (prefix, height))):
timelines = sorted(filter(lambda t: t!= '%s%sp.png'%(prefix,height), glob("%s%sp*.png"%(prefix, height))))
for image in timelines:
start_offset = 0
timeline = Image.open(image)
frames += timeline.size[0]