Commit c3eb7efb authored by Mathias Neerup's avatar Mathias Neerup

OrderedDict needs parentheses. Tested with Python 3.6.9 and Python 3.8.0

parent 25c709b9
......@@ -93,7 +93,7 @@ class Gripper2f85:
:return: True on successful reception of ack, false if no ack was received, indicating the set may not
have been effective.
"""
return self._set_vars(OrderedDict[(variable, value)])
return self._set_vars(OrderedDict([(variable, value)]))
def _get_var(self, variable: str):
"""Sends the appropriate command to retrieve the value of a variable from the gripper, blocking until the
......
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