theroretical implementaion of movec and movels, to be tested

This commit is contained in:
Olivier R-D
2013-04-03 11:37:15 +02:00
parent 0cc7318a8e
commit 8b910a5d42
2 changed files with 44 additions and 5 deletions

View File

@@ -214,7 +214,9 @@ class SecondaryMonitor(Thread):
with self._prog_queue_lock:
prog.strip()
self.logger.debug("Sending program: prog")
self._prog_queue.append(prog.encode() + b"\n")
if type(prog) != bytes:
prog = prog.encode()
self._prog_queue.append(prog + b"\n")
def run(self):