diff options
Diffstat (limited to 'module/CaptchaManager.py')
-rw-r--r-- | module/CaptchaManager.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/module/CaptchaManager.py b/module/CaptchaManager.py index d6a8fd077..d9e3748d7 100644 --- a/module/CaptchaManager.py +++ b/module/CaptchaManager.py @@ -83,7 +83,12 @@ class CaptchaTask(): self.lock.release() def getResult(self): - return self.result + try: + res = self.result.encode("utf8", "replace") + except: + res = self.result + + return res def getID(self): return self.id |