From 1272129ea79ec3ba10b157b87a175b253cf65162 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 21 Jul 2022 15:33:06 +0200 Subject: [PATCH] ts_31_102: Fix EF_EPSLOCI argument ordering We were invoking the constructor with the description as 4th positional argument, but that was actually the 'size' argument in this case. Let's swap the order to be aligned with other file constructors. Change-Id: I9acee757f096fef0d8bacbec3b52f56267cd52f6 --- pySim/ts_31_102.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pySim/ts_31_102.py b/pySim/ts_31_102.py index 5df7369b..aa36b712 100644 --- a/pySim/ts_31_102.py +++ b/pySim/ts_31_102.py @@ -860,8 +860,8 @@ class EF_NCP_IP(LinFixedEF): # TS 31.102 Section 4.2.91 class EF_EPSLOCI(TransparentEF): - def __init__(self, fid='6fe3', sfid=0x1e, name='EF.EPSLOCI', size=(18, 18), - desc='EPS Location Information', **kwargs): + def __init__(self, fid='6fe3', sfid=0x1e, name='EF.EPSLOCI', + desc='EPS Location Information', size=(18,18), **kwargs): super().__init__(fid, sfid=sfid, name=name, desc=desc, size=size, **kwargs) upd_status_constr = Enum( Byte, updated=0, not_updated=1, roaming_not_allowed=2)