mirror of
https://github.com/Kilian/Trimage.git
synced 2026-01-26 01:58:41 -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 = []
|
delegatorlist = []
|
||||||
for fullpath in images:
|
for fullpath in images:
|
||||||
try: # recompress images already in the list
|
try: # recompress images already in the list
|
||||||
image = (i.image for i in self.imagelist
|
image = next(i.image for i in self.imagelist
|
||||||
if i.image.fullpath == fullpath).__next__()
|
if i.image.fullpath == fullpath)
|
||||||
if image.compressed:
|
if image.compressed:
|
||||||
image.reset()
|
image.reset()
|
||||||
image.recompression = True
|
image.recompression = True
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue