fds
This commit is contained in:
parent
c50cb5ca30
commit
c0d8490df3
6 changed files with 18 additions and 4 deletions
|
@ -9,7 +9,8 @@ def create_comment(text_html, autojanny=False):
|
|||
|
||||
new_comment = Comment(author_id=author_id,
|
||||
parent_submission=None,
|
||||
body_html=text_html)
|
||||
body_html=text_html,
|
||||
distinguish_level=6)
|
||||
g.db.add(new_comment)
|
||||
g.db.flush()
|
||||
return new_comment.id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue