Skip to content

Commit 91674ec

Browse files
committed
release v2.5.1
- fix python2 compatibility issues
1 parent 091da29 commit 91674ec

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## 6.10
44

5-
- release v2.5.0
5+
- release v2.5.1
66
- improved parameter checking.
77
- new class `MycobotCommandGenerator` that generate binary real command.
88
- can import needed class from `pymycobot`, like:

pymycobot/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
__all__ = ["MyCobot", "MycobotCommandGenerater", "Angle", "Coord"]
77

8-
__version__ = "2.5.0"
8+
__version__ = "2.5.1"
99
__author__ = "Zachary zhang"
1010
__email__ = "lijun.zhang@elephantrobotics.com"
1111
__git_url__ = "https://github.com/elephantrobotics/pymycobot"

pymycobot/common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import struct
22

33

4-
class Command:
4+
class Command(object):
55
# BASIC
66
HEADER = 0xFE
77
FOOTER = 0xFA
@@ -75,7 +75,7 @@ class Command:
7575
SET_BASIC_OUTPUT = 0xA0
7676

7777

78-
class DataProcessor:
78+
class DataProcessor(object):
7979
# Functional approach
8080
def _encode_int8(self, data):
8181
return struct.pack("b", data)

0 commit comments

Comments
 (0)