fix(typo): comments.py

This commit is contained in:
Rushabh Mehta 2019-02-08 16:22:47 +05:30
parent 9958662b39
commit 09e149bec3

View file

@ -115,7 +115,7 @@ def update_comment_in_doc(doc):
}"""
# only comments get updates, not likes, assignments etc.
if self.comment_type != 'Comment':
if doc.comment_type != 'Comment':
return
def get_truncated(content):