(self, path: str, include_body: bool = True)
| 533 | class ThemeStaticFileHandler(AuthorizedStaticFileHandler): |
| 534 | |
| 535 | async def get(self, path: str, include_body: bool = True) -> None: |
| 536 | if path == 'theme.css': |
| 537 | self.absolute_path = self.get_absolute_path(self.root, path) |
| 538 | if not os.path.exists(self.absolute_path): |
| 539 | # if custom theme doesn't exist, return empty body |
| 540 | return |
| 541 | |
| 542 | return await super().get(path, include_body) |
| 543 | |
| 544 | |
| 545 | class ScriptParameterListFiles(BaseRequestHandler): |
nothing calls this directly
no test coverage detected