etwist/server.py
changeset 9031 6ff29f2879da
parent 9030 c1d5e8ca15ea
child 9036 cf519fd876c6
--- a/etwist/server.py	Fri Dec 07 17:23:04 2012 +0100
+++ b/etwist/server.py	Fri Nov 23 16:12:19 2012 +0100
@@ -62,7 +62,8 @@
         self.config = config
         # instantiate publisher here and not in init_publisher to get some
         # checks done before daemonization (eg versions consistency)
-        self.appli = CubicWebPublisher(config)
+        repo = config.repository()
+        self.appli = CubicWebPublisher(repo, config)
         self.base_url = config['base-url']
         self.https_url = config['https-url']
         global MAX_POST_LENGTH