equal
deleted
inserted
replaced
195 if not static: |
195 if not static: |
196 tp = self.templatepath or templater.templatepath() |
196 tp = self.templatepath or templater.templatepath() |
197 if isinstance(tp, str): |
197 if isinstance(tp, str): |
198 tp = [tp] |
198 tp = [tp] |
199 static = [os.path.join(p, 'static') for p in tp] |
199 static = [os.path.join(p, 'static') for p in tp] |
200 return (staticfile(static, fname, req),) |
200 staticfile(static, fname, req) |
|
201 return [] |
201 |
202 |
202 # top-level index |
203 # top-level index |
203 elif not virtual: |
204 elif not virtual: |
204 req.respond(HTTP_OK, ctype) |
205 req.respond(HTTP_OK, ctype) |
205 return self.makeindex(req, tmpl) |
206 return self.makeindex(req, tmpl) |