##// END OF EJS Templates
Merge pull request #4435 from minrk/tornado-tweaks...
Min RK -
r13335:256a3890 merge
parent child Browse files
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