Skip to content

Commit

Permalink
mistake in nibble2octet
Browse files Browse the repository at this point in the history
  • Loading branch information
babca authored Mar 6, 2017
1 parent 732479f commit fe7acc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gsmmodem/pdu.py
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ def _decodeDataCoding(octet):
return 0

def nibble2octet(addressLen):
addressLen = int((addressLen + 1) / 2)
return int((addressLen + 1) / 2)

def _decodeAddressField(byteIter, smscField=False, log=False):
""" Decodes the address field at the current position of the bytearray iterator
Expand Down

0 comments on commit fe7acc7

Please sign in to comment.