what a mess
This commit is contained in:
parent
12cacbada8
commit
4dd23f91ca
18 changed files with 333 additions and 287 deletions
|
@ -1034,10 +1034,6 @@ def submit_post(v, sub=None):
|
|||
else:
|
||||
return error("Image/Video files only.")
|
||||
|
||||
if '#fortune' in body:
|
||||
body = body.replace('#fortune', '')
|
||||
body += '\n\n<p>' + random.choice(FORTUNE_REPLIES) + '</p>'
|
||||
|
||||
body_html = sanitize(body)
|
||||
|
||||
if v.marseyawarded and marseyaward_body_regex.search(body_html):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue