acmyu commited on
Commit
ac1ffdc
·
1 Parent(s): aeab240
Files changed (1) hide show
  1. main.py +3 -2
main.py CHANGED
@@ -131,8 +131,9 @@ def getThumbnails(imgs):
131
  thumbs = []
132
  thumb_size = (256, 256)
133
  for img in imgs:
134
- img.thumbnail(thumb_size)
135
- thumbs.append(img)
 
136
  return thumbs
137
 
138
 
 
131
  thumbs = []
132
  thumb_size = (256, 256)
133
  for img in imgs:
134
+ th = img.copy()
135
+ th.thumbnail(thumb_size)
136
+ thumbs.append(th)
137
  return thumbs
138
 
139