From 1d21f45e3e5b14dee9a1adc1ce199e4ef02d6399 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Richard=20V=C3=A9zina?= Date: Thu, 7 Apr 2016 10:19:57 -0400 Subject: [PATCH] PEP8 Recaptcha/2 docstring --- gluon/tools.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gluon/tools.py b/gluon/tools.py index a4972e4a..73b3e801 100644 --- a/gluon/tools.py +++ b/gluon/tools.py @@ -820,12 +820,12 @@ class Recaptcha(DIV): Examples: Use as:: - form = FORM(Recaptcha(public_key='...',private_key='...')) + form = FORM(Recaptcha(public_key='...', private_key='...')) or:: form = SQLFORM(...) - form.append(Recaptcha(public_key='...',private_key='...')) + form.append(Recaptcha(public_key='...', private_key='...')) """ @@ -984,17 +984,17 @@ class Recaptcha2(DIV): Examples: Use as:: - form = FORM(Recaptcha2(public_key='...',private_key='...')) + form = FORM(Recaptcha2(public_key='...', private_key='...')) or:: form = SQLFORM(...) - form.append(Recaptcha2(public_key='...',private_key='...')) + form.append(Recaptcha2(public_key='...', private_key='...')) to protect the login page instead, use:: from gluon.tools import Recaptcha2 - auth.settings.captcha = Recaptcha2(request, public_key='...',private_key='...') + auth.settings.captcha = Recaptcha2(request, public_key='...', private_key='...') """