Browse Source

Fix crash on homepage

master
JustAnotherArchivist 3 years ago
parent
commit
4d9c64bf67
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      irclog.py

+ 1
- 1
irclog.py View File

@@ -869,7 +869,7 @@ class WebServer:
async def get_homepage(self, request):
self.logger.info(f'Received request {id(request)} from {request.remote!r} for {request.path!r}')
lines = []
for path, (channel, auth, hidden, extrasearchpaths) in self._paths.items():
for path, (channel, auth, hidden, extrasearchpaths, description) in self._paths.items():
if hidden:
continue
lines.append(f'{"(PW) " if auth else ""}<a href="/{html.escape(path)}/today">{html.escape(channel)}</a> (<a href="/{html.escape(path)}/search">search</a>)')


Loading…
Cancel
Save