mirror of
https://github.com/Kilian/Trimage.git
synced 2026-01-26 10:08:40 -05:00
Update generators
This commit is contained in:
parent
030684fe60
commit
460161b6ee
1 changed files with 2 additions and 2 deletions
|
|
@ -172,8 +172,8 @@ class StartQT5(QMainWindow):
|
|||
delegatorlist = []
|
||||
for fullpath in images:
|
||||
try: # recompress images already in the list
|
||||
image = (i.image for i in self.imagelist
|
||||
if i.image.fullpath == fullpath).__next__()
|
||||
image = next(i.image for i in self.imagelist
|
||||
if i.image.fullpath == fullpath)
|
||||
if image.compressed:
|
||||
image.reset()
|
||||
image.recompression = True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue