Update communication.py

adding escaped newline on line breaks before last one