summaryrefslogtreecommitdiff
path: root/9kwpyqt.py
diff options
context:
space:
mode:
Diffstat (limited to '9kwpyqt.py')
-rwxr-xr-x9kwpyqt.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/9kwpyqt.py b/9kwpyqt.py
index 1381d9b..3ea6fcb 100755
--- a/9kwpyqt.py
+++ b/9kwpyqt.py
@@ -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