Skip to content

Commit cd5a16b

Browse files
committed
fix bug
1 parent c1b98f7 commit cd5a16b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pymycobot/cobotx.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ def _mesg(self, genre, *args, **kwargs):
121121
if res[i] == 1:
122122
r.append(i)
123123
return r
124+
elif genre == ProtocolCode.COBOTX_GET_ANGLE:
125+
return self._int2angle(res)
124126
else:
125127
return res
126128
return None

0 commit comments

Comments
 (0)