Removed trailing_pathsep support from TreeManager.get_with_path. Set nodes to have...
[philo.git] / middleware.py
index ad660ec..fa30ef6 100644 (file)
@@ -21,6 +21,9 @@ class LazyNode(object):
                                node = None
                        
                        if node:
+                               if subpath is None:
+                                       subpath = ""
+                               subpath = "/" + subpath
                                node.subpath = subpath
                        
                        request._found_node = node