X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/6ac457d4ac226a474e988dfb898682ae04a86eb0..06dc22d5cbde2329fe2e5926243697e492b0a9ef:/models/nodes.py?ds=sidebyside 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)