modified: equipment/turtle_device.py

modified:   noblocking_turtle_shell.py
This commit is contained in:
vviora 2023-11-17 18:11:30 +03:00
parent 2479201b2a
commit 070fc3ab18
2 changed files with 3 additions and 4 deletions

View File

@ -39,7 +39,7 @@ class TurtleDevice(SynchronyDevice):
if (attribute.startswith('_') == False)]
self.actions = [TraitDescriptor(*ac) for ac in actions]
return self.acions
return self.actions
def read(self, trait_name):
collection = self.traits

View File

@ -1,8 +1,6 @@
import cmd
import threading
from queue import Queue, Empty
from queue import Empty, Queue
from equipment.turtle_device import TurtleDevice
@ -31,6 +29,7 @@ class NoBlockingTurtleShell(cmd.Cmd):
file = None
def __init__(self, turtle_thread: TurtleDeviceThread):
super(NoBlockingTurtleShell, self).__init__()
self.turtle_thread = TurtleDeviceThread()
def do_execute(self, arg):