aboutsummaryrefslogtreecommitdiffstats
path: root/pySim/cards.py
diff options
context:
space:
mode:
Diffstat (limited to 'pySim/cards.py')
-rw-r--r--pySim/cards.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pySim/cards.py b/pySim/cards.py
index 3ceaa63..8f7fda7 100644
--- a/pySim/cards.py
+++ b/pySim/cards.py
@@ -31,7 +31,7 @@ class Card(object):
self._scc = scc
def _e_iccid(self, iccid):
- return swap_nibbles(iccid)
+ return swap_nibbles(rpad(iccid, 20))
def _e_imsi(self, imsi):
"""Converts a string imsi into the value of the EF"""