chiark / gitweb /
Remove \n from sendCommand
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Thu, 12 Nov 2015 20:27:24 +0000 (15:27 -0500)
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Thu, 12 Nov 2015 20:27:24 +0000 (15:27 -0500)
commit2625e42f7f2f3ef4c97d24ba08e76cb1206c4753
treeb4b8dfc37eeda7f0586f51e1bbf169aad11c2eb6
parent9386bbc5431ea51a69d17582dc8fbd815df5d3e4
Remove \n from sendCommand

The sendCommand is already adding a \n, having the \n in the argument
made it send an empty line to the serialCommunication process
which would then interpret it as an unknown (empty) command, which
caused [''] to be printed in stderr.

Fixes T321
Cura/util/printerConnection/serialConnection.py