add 0chan, inplement mtime for html boards

This commit is contained in:
2019-09-08 22:09:20 -04:00
parent b6c42c1db3
commit 06d6762d51
9 changed files with 130 additions and 25 deletions

View File

@@ -12,7 +12,7 @@ class ChanHelper:
self.rps = rps
def boards(self):
return [b for b in self._boards if not b.startswith("_")]
return [b.replace("\\_", "_") for b in self._boards if not b.startswith("_")]
def image_url(self, board, tim, extension):
return "%s%s%s%s%s" % (self._image_url, board, self._image_path, tim, extension)