fix color extraction, fixes #1446
This commit is contained in:
parent
455f17b515
commit
eb7bb3571f
1 changed files with 1 additions and 1 deletions
|
@ -347,7 +347,7 @@ def average_color(prefix, start=0, end=0, mode='antialias'):
|
|||
start = int(start * 25)
|
||||
end = int(end * 25)
|
||||
mode = 'timeline' + mode
|
||||
timelines = sorted(filter(lambda t: t!= '%s%s%sp.jpg'%(prefix, mode, height),
|
||||
timelines = ox.sorted_strings(filter(lambda t: t!= '%s%s%sp.jpg'%(prefix, mode, height),
|
||||
glob("%s%s%sp*.jpg"%(prefix, mode, height))))
|
||||
for image in timelines:
|
||||
start_offset = 0
|
||||
|
|
Loading…
Reference in a new issue