From 51ac555ab50679a84931d6787640ef3c1c3158fb Mon Sep 17 00:00:00 2001 From: Kilian Valkhof Date: Tue, 2 Feb 2010 20:22:37 +0100 Subject: [PATCH] correct file for checking in file_dialog --- trimage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trimage.py b/trimage.py index 979fc2c..cd46962 100644 --- a/trimage.py +++ b/trimage.py @@ -80,7 +80,7 @@ class StartQT4(QMainWindow): "", # directory "Image files (*.png *.jpg)") for image in images: - if self.checkname(name): + if self.checkname(image): self.compress_file(image) def enable_recompress(self):