diff --git a/sanic/pages/autoindex.py b/sanic/pages/autoindex.py index 33bccb33..d53938df 100644 --- a/sanic/pages/autoindex.py +++ b/sanic/pages/autoindex.py @@ -53,13 +53,9 @@ class AutoIndex(BasePage): def _file_table(self, files: Iterable[FileInfo]): with self.doc.table(class_="autoindex"): - self._parent() for f in files: self._file_row(**f) - def _parent(self): - self._file_row("📁", "..", "", "") - def _file_row( self, icon: str,