1. Franck Bret
  2. CherryPy

Commits

Robert Brewer  committed 96b9bfe

Fix for #896 (no request logging, other breakage with root=None).

  • Participants
  • Parent commits e665376
  • Branches default

Comments (0)

Files changed (1)

File cherrypy/__init__.py

View file
     if config:
         _global_conf_alias.update(config)
     
-    if root is not None:
-        tree.mount(root, script_name, config)
+    tree.mount(root, script_name, config)
     
     if hasattr(engine, "signal_handler"):
         engine.signal_handler.subscribe()