ref #8 bug Unknown MNC

This commit is contained in:
Oros 2017-04-24 17:57:18 +02:00
parent 3eba7daea5
commit 85067041da

View file

@ -269,8 +269,12 @@ def find_cell(x):
operator=mcc_codes[mcc]['MNC'][mnc][1]
else:
country=mcc_codes[mcc]['c'][0]
brand="Unknown"
operator=mcc_codes[mcc]['MNC'][mnc][1]
brand="Unknown MNC {}".format(mnc)
operator="Unknown MNC {}".format(mnc)
else:
country="Unknown MCC {}".format(mcc)
brand="Unknown MNC {}".format(mnc)
operator="Unknown MNC {}".format(mnc)
mcc=str(mcc)
mnc=str(mnc)
lac=str(lac)