We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a841fef commit 651cc15Copy full SHA for 651cc15
smpplib/gsm.py
@@ -60,9 +60,11 @@ def make_parts(text):
60
parts = []
61
ipart = 1
62
uid = random.randint(0, 255)
63
+ print(starts,"asd")
64
for start in starts:
- parts.append(''.join(('\x05\x00\x03', chr(uid),
65
- chr(len(starts)), chr(ipart),
+
66
+ parts.append(b''.join((b'\x05\x00\x03', bytes([uid]),
67
+ bytes([len(starts)]), bytes([ipart]),
68
encode(text[start:start + partsize]))))
69
ipart += 1
70
else:
0 commit comments