diff --git a/trimage.py b/trimage.py index b53ec95..8be63a6 100644 --- a/trimage.py +++ b/trimage.py @@ -55,7 +55,7 @@ class StartQT4(QMainWindow): def file_from_cmd(self, image): self.showapp = False - if self.checkname(name): + if self.checkname(image): self.compress_file(image) def file_drop(self):