Remove redundant whitespace from rendered comments

Doesn't fix the perf issues but at least it reduces size quite a bit
This commit is contained in:
David Hoppenbrouwers
2022-10-08 11:45:37 +02:00
parent 9f74e1a2af
commit 6299a9e1fb
4 changed files with 57 additions and 65 deletions

View File

@@ -77,15 +77,6 @@ class DB:
(limit,)
)
def get_comments(self, thread):
return self._db().execute('''
select text
from comments
where thread_id = ?
''',
(thread,)
)
def get_comment(self, comment_id):
return self._db().execute('''
select title, c.text