fix build_realm (mcc / mnc swap)
This commit is contained in:
parent
5763049d60
commit
415d3d5804
|
@ -37,7 +37,7 @@ def extract_plmn(imsi: str, mcc_2digits: bool = True) -> Tuple[int, int]:
|
|||
return mcc, mnc
|
||||
|
||||
def build_realm(mcc: Union[int,str], mnc: Union[int,str]) -> str:
|
||||
return 'ims.mnc%03d.mcc%03d.3gppnetwork.org' % (int(mcc), int(mnc))
|
||||
return 'ims.mnc%03d.mcc%03d.3gppnetwork.org' % (int(mnc), int(mcc))
|
||||
|
||||
class PyHssApi:
|
||||
headers = {'Content-Type': 'application/json', 'Accept': 'application/json'}
|
||||
|
|
Loading…
Reference in New Issue