summaryrefslogtreecommitdiff
path: root/9kwpyqt.py
diff options
context:
space:
mode:
Diffstat (limited to '9kwpyqt.py')
-rwxr-xr-x9kwpyqt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/9kwpyqt.py b/9kwpyqt.py
index b29a185..7e25142 100755
--- a/9kwpyqt.py
+++ b/9kwpyqt.py
@@ -296,6 +296,7 @@ class CaptchaGUI(QWidget):
self.networkCaptchaAnswer = QNetworkRequest(url)
self.networkCaptchaAnswerReply = self.NetworkManager.get(self.networkCaptchaAnswer)
self.networkCaptchaAnswerReply.finished.connect(self.setCaptchaAnswerCommit)
+ self.currentCaptchaID = None
def setCaptchaAnswerCommit(self):
message = str(self.networkCaptchaAnswerReply.readAll(), encoding='utf-8')
@@ -318,7 +319,6 @@ class CaptchaGUI(QWidget):
self.networkCaptchaAnswerReply.finished.connect(self.setCaptchaAnswerSkipped)
else:
self.currentSkipped += 1
- self.currentCaptchaID = None
self.updateStats()
self.getCaptchaID()