diff --git a/src/allmydata/web/directory.py b/src/allmydata/web/directory.py index 23b315555..9c64d7491 100644 --- a/src/allmydata/web/directory.py +++ b/src/allmydata/web/directory.py @@ -130,7 +130,7 @@ class DirectoryNodeHandler(ReplaceMeMixin, Resource, object): Callback when self.node.get has returned """ method = req.method - nonterminal = len(req.postpath) >= 1 + nonterminal = len(req.postpath) > 1 t = get_arg(req, "t", "").strip() # XXX looking like MultiFormatResource.. if isinstance(node_or_failure, Failure): f = node_or_failure