[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [bridgedb/develop] Update documentation for CaptchaProtectedResource.getCaptchaImage().
commit 573996bd57420ccf5d009a95f20fdc6367edd24a
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date: Tue Mar 18 04:48:06 2014 +0000
Update documentation for CaptchaProtectedResource.getCaptchaImage().
---
lib/bridgedb/HTTPServer.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/bridgedb/HTTPServer.py b/lib/bridgedb/HTTPServer.py
index a67d5ae..47009df 100644
--- a/lib/bridgedb/HTTPServer.py
+++ b/lib/bridgedb/HTTPServer.py
@@ -139,8 +139,8 @@ class CaptchaProtectedResource(twisted.web.resource.Resource):
:returns: A 2-tuple of ``(image, challenge)``, where ``image`` is a
binary, JPEG-encoded image, and ``challenge`` is a unique
- string. If unable to retrieve a CAPTCHA, returns
- ``(None, None)``.
+ string. If unable to retrieve a CAPTCHA, returns a tuple
+ containing two empty strings.
"""
return ('', '')
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits