diff --git a/product/ERP5/ERP5Site.py b/product/ERP5/ERP5Site.py index 7cd90d70b62c9b52ad6a130480571b3fb12e12c1..64a2166e0423cd23ef463256fab20f14a26eba4d 100644 --- a/product/ERP5/ERP5Site.py +++ b/product/ERP5/ERP5Site.py @@ -1353,7 +1353,7 @@ class ERP5Generator(PortalGenerator): try: from Products.FCKeditor import fckeditor_globals have_fckeditor = 1 - except: + except ImportError: have_fckeditor = 0 ps = getToolByName(p, 'portal_skins') addDirectoryViews(ps, 'skins', cmfdefault_globals)