Changeset 7292 for main/waeup.sirp/trunk
- Timestamp:
- 6 Dec 2011, 16:46:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/captcha.py
r7289 r7292 107 107 # Global captcha chooser 108 108 # 109 from zope.publisher.browser import TestRequest110 109 class CaptchaChooser(grok.GlobalUtility): 111 110 … … 139 138 if site is None: 140 139 return getUtility(ICaptcha) 141 name = site.get('configuration', None).get('captcha', u'')140 name = site.get('configuration', {}).get('captcha', u'') 142 141 return queryUtility(ICaptcha, name=name, 143 142 default=getUtility(ICaptcha))
Note: See TracChangeset for help on using the changeset viewer.