Show More
@@ -53,12 +53,11 def rawfile(web, req, tmpl): | |||
|
53 | 53 | |
|
54 | 54 | def file(web, req, tmpl): |
|
55 | 55 | path = web.cleanpath(req.form.get('file', [''])[0]) |
|
56 | if path: | |
|
56 | if not path: | |
|
57 | return web.manifest(tmpl, web.changectx(req), path) | |
|
57 | 58 |
|
|
58 | 59 |
|
|
59 | 60 |
|
|
60 | pass | |
|
61 | ||
|
62 | 61 | try: |
|
63 | 62 | return web.manifest(tmpl, web.changectx(req), path) |
|
64 | 63 | except ErrorResponse: |
General Comments 0
You need to be logged in to leave comments.
Login now