Show More
@@ -327,8 +327,8 b' class FileFindHandler(web.StaticFileHandler):' | |||||
327 | try: |
|
327 | try: | |
328 | abspath = os.path.abspath(filefind(path, roots)) |
|
328 | abspath = os.path.abspath(filefind(path, roots)) | |
329 | except IOError: |
|
329 | except IOError: | |
330 | # empty string should always give exists=False |
|
330 | # IOError means not found | |
331 | return '' |
|
331 | raise web.HTTPError(404) | |
332 |
|
332 | |||
333 | cls._static_paths[path] = abspath |
|
333 | cls._static_paths[path] = abspath | |
334 | return abspath |
|
334 | return abspath |
General Comments 0
You need to be logged in to leave comments.
Login now