Add context
parent
bbe412b81c
commit
483c611bee
|
@ -1,8 +1,5 @@
|
|||
TEST_MODE = True
|
||||
|
||||
from audioop import avg
|
||||
from re import sub
|
||||
from time import sleep
|
||||
from typing import Tuple
|
||||
from numpy import average
|
||||
import praw
|
||||
|
@ -231,7 +228,7 @@ def generate_comment_display_section(submissions : 'Tuple[float, Submission]', s
|
|||
comment_body = comment_body.replace("\n", "")
|
||||
if len(comment_body) > max_len:
|
||||
comment_body = comment_body[0:max_len-3] + "..."
|
||||
markdown_lines.append(f"{comment_indent} [{comment_body}](https://reddit.com{comment.permalink}) ({comment.score})")
|
||||
markdown_lines.append(f"{comment_indent} [{comment_body}](https://reddit.com{comment.permalink}?context=3) ({comment.score})")
|
||||
return markdown_lines
|
||||
|
||||
def comment_basedness_score_string(basedness):
|
||||
|
|
Loading…
Reference in New Issue