diff options
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-x | pyLoadCore.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py index 593fb046e..a4311b75b 100755 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -775,10 +775,10 @@ class ServerMethods(): task = self.core.captchaManager.getTask() if task: task.setWatingForUser(exclusive=exclusive) - c = task.getCaptcha() - return str(task.id), c[0], str(c[1]) + captcha_info = task.getCaptcha() + return (task.id,) + captcha_info else: - return None, None, None + return None, None, None, None def get_task_status(self, tid): self.core.lastClientConnected = time() |