X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/6ac457d4ac226a474e988dfb898682ae04a86eb0..3ce16dd425565e6fc31c49c98bf8d88e09183748:/models/nodes.py diff --git a/models/nodes.py b/models/nodes.py index a89d653..8d33d43 100644 --- a/models/nodes.py +++ b/models/nodes.py @@ -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)