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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user