Update eos.py

Sometimes there is no \r\n