etwist/server.py
branchstable
changeset 5278 f912e40324c4
parent 5273 c4caef6f09c9
child 5274 16461f675734
child 5279 42a37a50f2ff
--- a/etwist/server.py	Thu Apr 15 14:07:25 2010 +0200
+++ b/etwist/server.py	Thu Apr 15 14:07:47 2010 +0200
@@ -179,7 +179,7 @@
         """Render a page from the root resource"""
         # reload modified files in debug mode
         if self.debugmode:
-            self.appli.vreg.register_objects(self.config.vregistry_path())
+            self.appli.vreg.reload_if_needed()
         if self.config['profile']: # default profiler don't trace threads
             return self.render_request(request)
         else: