diff options
-rwxr-xr-x | 9kwpyqt.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() |