Removed trailing_pathsep support from TreeManager.get_with_path. Set nodes to have...
[philo.git] / models / nodes.py
index a89d653..8d33d43 100644 (file)
@@ -73,7 +73,7 @@ class Node(TreeEntity):
                else:
                        domain = ""
                
-               if not path:
+               if not path or subpath == "/":
                        subpath = subpath[1:]
                
                return '%s%s%s%s' % (domain, root_url, path, subpath)