The "print" statement that was used before automatically inserted
newline character after the message, while .write() method does
not do this, which broke compatibility with some clients, notably
Catapult. Also fix formatting a little by stripping unnecessary
space.
The "print" statement that was used before automatically inserted newline character after the message, while .write() method does not do this, which broke compatibility with some clients, notably Catapult. Also fix formatting a little by stripping unnecessary space.