diff options
Diffstat (limited to '9kwpyqt.py')
-rwxr-xr-x | 9kwpyqt.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -284,9 +284,9 @@ class CaptchaGUI(QWidget): self.startstopButton.setText(self.running and "Stop" or "Start") self.startstopButton.setChecked(self.running) - # def saveImage(self): - # if self.image: - # self.image.save("captcha-"+str(time.time())+".jpg") + def saveImage(self): + if self.captchaImage.image: + self.captchaImage.image.save("captcha-"+str(time.time())+".jpg") ################################################## # Handle network |