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 ed3a5e9 commit f677da2Copy full SHA for f677da2
pdu.py
@@ -153,7 +153,7 @@ def _parseCMD(self, st):
153
self._readX(token, self._pdu['smlen'] * 2)
154
if self._pdu['dcs'] == 8:
155
self._pdu[token] = binascii.unhexlify(self._pdu[token]).decode('utf-16-be')
156
- if self._pdu['dcs'] == 0:
+ if self._pdu['dcs'] in [0, 1, 2, 3]:
157
self._pdu[token] = binascii.unhexlify(self._pdu[token]).decode('latin1')
158
state = 'read type'
159
continue
0 commit comments