Selaa lähdekoodia

fix(minor): incorrect condition

version-14
Rushabh Mehta 3 vuotta sitten
vanhempi
commit
d2b9fc89ed
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      frappe/desk/form/load.py

+ 1
- 1
frappe/desk/form/load.py Näytä tiedosto

@@ -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'):


Ladataan…
Peruuta
Tallenna