Minor fix for adding attachments
Merge pull request #70 from yasin-ah/fix-attachments

Minor fix for adding attachments