commit | dddbf525da1660b115d0b79f8209355fed7f5411 | [log] [tgz] |
---|---|---|
author | Alexander Chemeris <Alexander.Chemeris@gmail.com> | Tue Jul 18 16:49:59 2017 +0300 |
committer | Alexander Chemeris <Alexander.Chemeris@gmail.com> | Wed Jan 10 14:04:17 2018 +0900 |
tree | 7765314551fb2ef8bd874b5f57a6105b4ca3b454 | |
parent | a5f0ea6979231dad97bfe357fdc9eb1cbaa2b511 [diff] |
utils: Fix documentation. 3+3=6 digits equals 3 bytes, not 6 Change-Id: I2722d788a69976e1c64a9caf6cf3049af27f9a30
diff --git a/pySim/utils.py b/pySim/utils.py index 8463581..43d52dd 100644 --- a/pySim/utils.py +++ b/pySim/utils.py
@@ -77,7 +77,7 @@ return swap_nibbles(rpad(iccid, 20)) def enc_plmn(mcc, mnc): - """Converts integer MCC/MNC into 6 bytes for EF""" + """Converts integer MCC/MNC into 3 bytes for EF""" return swap_nibbles(lpad('%d' % mcc, 3) + lpad('%d' % mnc, 3)) def dec_spn(ef):