Do a single write instead of two

master
Daid 2012-09-25 11:51:34 +02:00
parent 4df94e7da4
commit 8732001ee4
1 changed files with 1 additions and 2 deletions

View File

@ -366,8 +366,7 @@ class MachineCom(object):
return
self._log('Send: %s' % (cmd))
try:
self._serial.write(cmd)
self._serial.write('\n')
self._serial.write(cmd + '\n')
except:
self._log("Unexpected error while writing serial port: %s" % (getExceptionString()))
self._errorValue = getExceptionString()