Changeset 7311 for main/waeup.sirp/trunk/src/waeup
- Timestamp:
- 9 Dec 2011, 10:44:15 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/captcha.py
r7309 r7311 68 68 if site is None: 69 69 return getUtility(ICaptcha) 70 name = site.get('configuration', {}).get('captcha', u'')70 name = getattr(site.get('configuration', {}), 'captcha', u'') 71 71 return queryUtility(ICaptcha, name=name, 72 72 default=getUtility(ICaptcha))
Note: See TracChangeset for help on using the changeset viewer.