ccplugin.py
changeset 11664 7567e99d6ed5
parent 11663 6fb9d9276880
child 11672 2018cdf2909e
--- a/ccplugin.py	Wed Nov 04 16:41:36 2015 +0100
+++ b/ccplugin.py	Tue Dec 22 19:37:49 2015 +0100
@@ -316,7 +316,7 @@
 
         host = cwconfig['interface']
         port = cwconfig['port'] or 8080
-        repo = cwconfig.repository()
+        repo = app.application.registry['cubicweb.repository']
         try:
             repo.start_looping_tasks()
             waitress.serve(app, host=host, port=port)