MCPcopy Index your code
hub / github.com/pyload/pyload / setWaiting

Method setWaiting

module/CaptchaManager.py:126–129  ·  view source on GitHub ↗

let the captcha wait secs for the solution

(self, sec)

Source from the content-addressed store, hash-verified

124 return self.status
125
126 def setWaiting(self, sec):
127 """ let the captcha wait secs for the solution """
128 self.waitUntil = max(time() + sec, self.waitUntil)
129 self.status = "waiting"
130
131 def isWaiting(self):
132 if self.result or self.error or time() > self.waitUntil:

Callers 7

handleCaptchaMethod · 0.80
captcha_taskMethod · 0.80
captcha_taskMethod · 0.80
captcha_taskMethod · 0.80
captcha_taskMethod · 0.80
captcha_taskMethod · 0.80
captcha_taskMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected