We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64f5419 commit 09ca006Copy full SHA for 09ca006
1 file changed
model/redhawk.py
@@ -28,7 +28,8 @@
28
29
from domain import Domain, scan_domains, ResourceNotFound
30
31
-from ossie.utils import prop_helpers
+from ossie.properties import __TYPE_MAP as TYPE_MAP
32
+from ossie.properties import props_from_dict
33
34
from tornado.websocket import WebSocketClosedError
35
from tornado import ioloop
@@ -162,7 +163,7 @@ def _get_prop_changes(current_props, new_properties):
162
163
for prop in current_props:
164
if prop.id in new_properties:
165
if new_properties[prop.id] != prop.queryValue():
- TYPE = prop_helpers.TYPE_MAP.get(prop.type, [type(prop.queryValue())])
166
+ TYPE = TYPE_MAP.get(prop.type, [type(prop.queryValue())])
167
changes[str(prop.id)] = (TYPE[0]) (Redhawk._clean_property(new_properties[prop.id]))
168
return props_from_dict(changes)
169
0 commit comments