Skip to content

Commit bb878b9

Browse files
author
Kirill Kirsanov
committed
callback for PDU parsing
1 parent be0ca39 commit bb878b9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

smpplib/client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ def read_pdu(self):
218218
p = smpp.parse_pdu(raw_pdu, client=self)
219219

220220
logger.debug('Read %s PDU', p.command)
221+
p.data = dict()
221222

222223
if p.is_error():
223224
return p

0 commit comments

Comments
 (0)