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