pyramid_cubicweb/__init__.py
changeset 11540 10a1ee7836ed
parent 11537 caf268942436
child 11547 fd7d2033cd80
--- a/pyramid_cubicweb/__init__.py	Mon Jan 05 15:54:12 2015 +0100
+++ b/pyramid_cubicweb/__init__.py	Fri Jan 16 22:50:05 2015 +0100
@@ -51,7 +51,7 @@
     if asbool(config.registry.settings.get('cubicweb.defaults', True)):
         config.include('pyramid_cubicweb.defaults')
 
-    for name in aslist(config.registry.settings.get('cubicweb.includes')):
+    for name in aslist(config.registry.settings.get('cubicweb.includes', [])):
         config.include(name)
 
     config.include('pyramid_cubicweb.core')