diff options
Diffstat (limited to '9kwpyqt.py')
-rwxr-xr-x | 9kwpyqt.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -28,6 +28,7 @@ class CaptchaGUI(QWidget): currentCommited = 0 currentSkipped = 0 currentQueued = 0 + currentWorker = 0 apiurl = API_URL+"?source=pythonapi&apikey="+API_KEY+"&" offlinemessage = "Click \"Start\" to fetch next captcha." @@ -126,7 +127,7 @@ class CaptchaGUI(QWidget): else: credittext = "%d ¥" % (self.currentCredits) self.accountLabel.setText(credittext) - labeltext = "%d Commited | %d Skipped | %d in Queue" % (self.currentCommited, self.currentSkipped, self.currentQueued) + labeltext = "%d Commited | %d Skipped | %d Queue | %d Worker" % (self.currentCommited, self.currentSkipped, self.currentQueued, self.currentWorker) self.statsLabel.setText(labeltext) def keyPressEvent(self, event): @@ -201,6 +202,7 @@ class CaptchaGUI(QWidget): tmp = stat.split('=') data[tmp[0]] = tmp[1] self.currentQueued = int(data['queue']) + self.currentWorker = int(data['workertext']) self.updateStats() self.networkQueueReply.deleteLater() QTimer.singleShot(5000, self.getQueue) |