X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/python-routefs.git/blobdiff_plain/08a82a4addc77d28a01fd9a333bb4697b5a4cf6a..7cabb211aef08afe8aacbc91415d992b8a45a669:/routefs/dictfs.py diff --git a/routefs/dictfs.py b/routefs/dictfs.py index 595fded..77baf63 100644 --- a/routefs/dictfs.py +++ b/routefs/dictfs.py @@ -15,6 +15,8 @@ from routes import Mapper import os class DictFS(routefs.RouteFS): + controllers = ['handler'] + @property def files(self): """ @@ -43,6 +45,6 @@ class DictFS(routefs.RouteFS): return if type(tree) is dict: - return routefs.Directory(tree.keys()) + return tree.keys() else: return tree