Commit 108d5b8d authored by Stephen Thompson's avatar Stephen Thompson

Merge branch '9-fix-get-tool-descriptions' into 'master'

Issue #9: Fixed get_tool_descriptions().

Closes #9

See merge request !2
parents 85bd97f1 4a69a1e5
Pipeline #1793 failed with stages
in 19 minutes and 6 seconds
......@@ -10,3 +10,6 @@
# PyInstaller
build/
dist/
# Virtual environment
venv/
\ No newline at end of file
......@@ -447,11 +447,11 @@ class NDITracker:
def get_tool_descriptions(self):
""" Returns the port handles and tool descriptions """
descriptions = []
port_handles = []
descriptions = []
for i in range(len(self._tool_descriptors)):
descriptions.append(i)
port_handles.append(self._tool_descriptors[i].get("description"))
port_handles.append(self._tool_descriptors[i].get("port handle"))
descriptions.append(self._tool_descriptors[i].get("description"))
return port_handles, descriptions
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment