fix(minor): incorrect condition

This commit is contained in:
Rushabh Mehta 2022-01-13 16:55:28 +05:30
parent 5b5662ed9a
commit d2b9fc89ed

View file

@ -149,7 +149,7 @@ def add_comments(doc, docinfo):
elif c.comment_type in ('Assignment Completed', 'Assigned'):
docinfo.assignment_logs.append(c)
elif c.comment_type == ('Attachment', 'Attachment Removed'):
elif c.comment_type in ('Attachment', 'Attachment Removed'):
docinfo.attachment_logs.append(c)
elif c.comment_type in ('Info', 'Edit', 'Label'):