MCPcopy
hub / github.com/pyload/pyload / setResult

Method setResult

module/CaptchaManager.py:104–113  ·  view source on GitHub ↗
(self, result)

Source from the content-addressed store, hash-verified

102 return self.captchaParams, self.captchaFormat, self.captchaResultType
103
104 def setResult(self, result):
105 if self.isTextual() or self.isInteractive():
106 self.result = result
107
108 elif self.isPositional():
109 try:
110 parts = result.split(',')
111 self.result = (int(parts[0]), int(parts[1]))
112 except:
113 self.result = None
114
115 def getResult(self):
116 try:

Callers 7

setCaptchaResultMethod · 0.80
_process_captchaMethod · 0.80
event_cMethod · 0.80
_process_captchaMethod · 0.80
_process_captchaMethod · 0.80
_process_captchaMethod · 0.80
_process_captchaMethod · 0.80

Calls 4

isTextualMethod · 0.95
isInteractiveMethod · 0.95
isPositionalMethod · 0.95
splitMethod · 0.80

Tested by

no test coverage detected